Fix #ifdefs that were broken due to commit d178b58.
[oweals/tinc.git] / src / utils.c
index 70a5c99d70c52532a188a6ac7fdb6ebb239129bc..28f60e877ad921bc5fd202e6f427887675f055fc 100644 (file)
@@ -54,8 +54,8 @@ void bin2hex(char *src, char *dst, int length) {
        }
 }
 
-#if defined(HAVE_MINGW) || defined(HAVE_CYGWIN)
-#ifdef HAVE_CYGWIN
+#if defined(HAVE_MINGW) || defined(HAVE___CYGWIN32__)
+#ifdef HAVE___CYGWIN32__
 #include <w32api/windows.h>
 #endif