Cygwin doesn't expose Win32 [not "officially"].
[openssl.git] / crypto / cryptlib.c
index 7b86e599ff60911000f082c327340379c983d784..6f8b0ff4e5afb13dc307bddacd69e9762bf86ffa 100644 (file)
@@ -620,7 +620,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
        }
 #endif
 
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(__CYGWIN__)
 #include <tchar.h>
 
 #if defined(_WIN32_WINNT) && _WIN32_WINNT>=0x0333