[Privoxy-commits] [privoxy] 01/10: remove typo

User Git git at git.privoxy.org
Sun Mar 21 22:57:51 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit f329002c101b7d600fdcae13c88f73482b19ea36
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Tue Mar 2 07:37:31 2021 -0500

    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.
---
 jcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list