blob: f18446d4a5ab2017f8482cba3c0b0db506b08d1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#if defined _MSC_VER || defined __MINGW32__
#define REPLACE_GETOPT 1 /* use this getopt as the system getopt(3) */
#else
#define REPLACE_GETOPT 0 // force a conflict if included multiple times
#endif
#if REPLACE_GETOPT
# include "bsd_getopt.h"
# define BOX_BSD_GETOPT
#else
# include <getopt.h>
# undef BOX_BSD_GETOPT
#endif
|