diff options
Diffstat (limited to 'src/anylike.c')
-rw-r--r-- | src/anylike.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anylike.c b/src/anylike.c index 70f03c5..637c527 100644 --- a/src/anylike.c +++ b/src/anylike.c @@ -49,7 +49,7 @@ #include <gnutls/gnutls.h> #endif -#ifndef _MSC_VER +#ifndef WINVER #include "daemon.h" #endif @@ -243,7 +243,7 @@ int main(int argc, char* argv[]) log_printf(NOTICE, "just started..."); options_parse_post(&opt); -#ifndef _MSC_VER +#ifndef WINVER priv_info_t priv; if(opt.username_) if(priv_init(&priv, opt.username_, opt.groupname_)) { @@ -263,7 +263,7 @@ int main(int argc, char* argv[]) } #endif -#ifndef _MSC_VER +#ifndef WINVER FILE* pid_file = NULL; if(opt.pid_file_) { pid_file = fopen(opt.pid_file_, "w"); |