diff options
Diffstat (limited to 'lib')
-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__ |