Cygwin doesn't expose Win32 [not "officially"].
authorAndy Polyakov <appro@openssl.org>
Tue, 3 May 2005 21:20:17 +0000 (21:20 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 3 May 2005 21:20:17 +0000 (21:20 +0000)
crypto/cryptlib.c

index 7b86e59..6f8b0ff 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