- Completely removed config.h generation file, as it was not used anywere in the code - Removed all the old build files and switched to CMake (3.0+) - As tl-parser only uses zlib for crc32, removing the dependency makes the CMake file easier to maintain and makes the code building without third party code. The crc32 implementation was taken from abb3e47a984c2cc126522c48bd9c3b60ad14a46c.
32 lines
472 B
C
32 lines
472 B
C
/*
|
|
POSIX getopt for Windows
|
|
|
|
AT&T Public License
|
|
|
|
Code given out at the 1985 UNIFORUM conference in Dallas.
|
|
*/
|
|
|
|
#ifdef __GNUC__
|
|
#include <getopt.h>
|
|
#endif
|
|
#ifndef __GNUC__
|
|
|
|
#ifndef _WINGETOPT_H_
|
|
#define _WINGETOPT_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int opterr;
|
|
extern int optind;
|
|
extern int optopt;
|
|
extern char *optarg;
|
|
extern int getopt(int argc, char **argv, char *opts);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _GETOPT_H_ */
|
|
#endif /* __GNUC__ */ |