Skip to content

Commit 95d57c4

Browse files
committed
no need to bother with the var then
1 parent 6998c1a commit 95d57c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

main/fastcgi.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -648,12 +648,8 @@ int fcgi_listen(const char *path, int backlog)
648648
int listen_socket;
649649
sa_t sa;
650650
socklen_t sock_len;
651-
#ifdef SO_REUSEADDR
652-
# ifdef _WIN32
653-
BOOL reuse = 1;
654-
# else
651+
#if !defined(_WIN32) && defined(SO_REUSEADDR)
655652
int reuse = 1;
656-
# endif
657653
#endif
658654

659655
if ((s = strchr(path, ':'))) {

0 commit comments

Comments
 (0)