vlmcsd/src/wingetopt.h

32 lines
509 B
C
Raw Normal View History

2016-10-08 07:35:48 +02:00
/*
POSIX getopt for Windows
AT&T Public License
Code given out at the 1985 UNIFORUM conference in Dallas.
2016-12-02 08:56:18 +01:00
Modified for vlmcsd by Hotbird64
2016-10-08 07:35:48 +02:00
*/
#ifndef _WINGETOPT_H_
#define _WINGETOPT_H_
2016-12-02 08:56:18 +01:00
#ifdef _MSC_VER
2016-10-08 07:35:48 +02:00
#ifdef __cplusplus
extern "C" {
#endif
extern int opterr;
extern int optind;
extern int optopt;
extern char *optarg;
extern int getopt(int argc, char * const argv[], const char *optstring);
#ifdef __cplusplus
}
#endif
2016-12-02 08:56:18 +01:00
#endif // _MSC_VER
#endif // __wingetopt_h