From 6f04d8ae0483fad9b93524172db76b51424a228a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 8 Dec 2008 22:11:21 +0000 Subject: Only use replacement BSD getopt on Windows. --- lib/win32/getopt_long.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/win32/getopt_long.cpp b/lib/win32/getopt_long.cpp index a24930aa..5d910e1b 100755 --- a/lib/win32/getopt_long.cpp +++ b/lib/win32/getopt_long.cpp @@ -69,7 +69,6 @@ #if defined _MSC_VER || defined __MINGW32__ #define REPLACE_GETOPT /* use this getopt as the system getopt(3) */ -#endif #ifdef REPLACE_GETOPT int opterr = 1; /* if error message should be printed */ @@ -548,3 +547,4 @@ getopt_long_only(int nargc, char * const *nargv, const char *options, FLAG_PERMUTE|FLAG_LONGONLY)); } +#endif // defined _MSC_VER || defined __MINGW32__ -- cgit v1.2.3