From: Lee Date: Tue, 2 Mar 2021 12:37:31 +0000 (-0500) Subject: remove typo X-Git-Tag: v_3_0_33~109 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=f329002c101b7d600fdcae13c88f73482b19ea36;p=privoxy.git remove typo "_CYGWIN" is not defined for the cygwin or mingw cross compiler: $ echo | gcc -dM -E -xc - | grep -i cygwin $ echo | i686-w64-mingw32-gcc -dM -E -xc - | grep -i cygwin Maybe _CYGWIN is a typo left over from the days when the same gcc compiler was used to compile native windows (gcc -mno-cygwin) and cygwin apps? In any case, !defined(_CYGWIN) is true so removing the test just makes the code a bit clearer. --- diff --git a/jcc.c b/jcc.c index 12e77364..372d9df3 100644 --- a/jcc.c +++ b/jcc.c @@ -6065,7 +6065,7 @@ static void listen_loop(void) } #endif -#if defined(_WIN32) && !defined(_CYGWIN) && !defined(SELECTED_ONE_OPTION) +#if defined(_WIN32) && !defined(SELECTED_ONE_OPTION) #define SELECTED_ONE_OPTION child_id = _beginthread( (void (*)(void *))serve,