diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 59b4a769c..b32498ddb 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -2869,7 +2869,7 @@ static void mingw_daemonize(char **argv) | |||
2869 | } | 2869 | } |
2870 | #endif | 2870 | #endif |
2871 | 2871 | ||
2872 | #ifdef SIGHUP | 2872 | #if !ENABLE_PLATFORM_MINGW32 |
2873 | static void sighup_handler(int sig UNUSED_PARAM) | 2873 | static void sighup_handler(int sig UNUSED_PARAM) |
2874 | { | 2874 | { |
2875 | int sv = errno; | 2875 | int sv = errno; |
@@ -3034,7 +3034,7 @@ int httpd_main(int argc UNUSED_PARAM, char **argv) | |||
3034 | #endif | 3034 | #endif |
3035 | 3035 | ||
3036 | parse_conf(DEFAULT_PATH_HTTPD_CONF, FIRST_PARSE); | 3036 | parse_conf(DEFAULT_PATH_HTTPD_CONF, FIRST_PARSE); |
3037 | #ifdef SIGHUP | 3037 | #if !ENABLE_PLATFORM_MINGW32 |
3038 | if (!(opt & OPT_INETD)) | 3038 | if (!(opt & OPT_INETD)) |
3039 | signal(SIGHUP, sighup_handler); | 3039 | signal(SIGHUP, sighup_handler); |
3040 | #endif | 3040 | #endif |