diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-12-08 22:11:21 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-12-08 22:11:21 +0000 |
commit | 6f04d8ae0483fad9b93524172db76b51424a228a (patch) | |
tree | e6b6daadd03ef24ef28b8f83f0f8b9caf47a96f5 /lib | |
parent | 40c981ff40dfa068a52b10e0b0409427fef5a09a (diff) |
Only use replacement BSD getopt on Windows.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/win32/getopt_long.cpp | 2 |
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__
|