mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
25 lines
564 B
C
25 lines
564 B
C
#ifndef WIN_GETOPT_H
|
|
#define WIN_GETOPT_H
|
|
|
|
#ifdef WIN32
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int opterr, /* if error message should be printed */
|
|
optind, /* index into parent argv vector */
|
|
optopt, /* character checked for validity */
|
|
optreset; /* reset getopt */
|
|
extern char *optarg; /* argument associated with option */
|
|
|
|
extern int getopt(int nargc, char * const *nargv, const char *ostr);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|
|
#endif
|