diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-04-05 00:47:39 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-04-05 00:47:39 +0000 |
commit | 854ede0bd8f6a32fdd88c6e3d9bcf6076b052344 (patch) | |
tree | 4794018d2d992e163472904724907151c56d115e | |
parent | a07a1e20c53ebd883579c4a301b29a6b5a15f66d (diff) |
Command-line option fix from [1975]
-rw-r--r-- | lib/server/Daemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp index 292a628c..c2233fb9 100644 --- a/lib/server/Daemon.cpp +++ b/lib/server/Daemon.cpp @@ -308,7 +308,7 @@ int Daemon::Main(const char *DefaultConfigFile, int argc, const char *argv[]) // reset getopt, just in case anybody used it before. // unfortunately glibc and BSD differ on this point! // http://www.ussg.iu.edu/hypermail/linux/kernel/0305.3/0262.html - #if HAVE_DECL_OPTRESET == 1 + #if HAVE_DECL_OPTRESET == 1 || defined WIN32 optind = 1; optreset = 1; #elif defined __GLIBC__ |