Fix #ifdefs that were broken due to commit d178b58.
[oweals/tinc.git] / src / utils.c
index 70a5c99..28f60e8 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