summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-12-08 22:11:21 +0000
committerChris Wilson <chris+github@qwirx.com>2008-12-08 22:11:21 +0000
commit6f04d8ae0483fad9b93524172db76b51424a228a (patch)
treee6b6daadd03ef24ef28b8f83f0f8b9caf47a96f5 /lib
parent40c981ff40dfa068a52b10e0b0409427fef5a09a (diff)
Only use replacement BSD getopt on Windows.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/win32/getopt_long.cpp2
1 files changed, 1 insertions, 1 deletions
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__