diff options
author | Andy Polyakov <appro@openssl.org> | 2004-08-01 21:24:34 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-08-01 21:24:34 +0000 |
commit | c77094415f196153a8377f23487d67b2692a1aab (patch) | |
tree | b2c9e0463b2fc069e805b0b8e54f36a6cfb93ce8 /crypto | |
parent | 34413fca84fedc10ea81a1f8c1c84956c2849698 (diff) |
Cygwin fix-up for shared build.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/cryptlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index e0380a38f4..419d37ca5d 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -572,6 +572,10 @@ void OPENSSL_cpuid_setup() {} #endif #if (defined(_WIN32) || defined(__CYGWIN__)) && defined(_DLL) +#ifdef __CYGWIN__ +/* pick DLL_[PROCESS|THREAD]_[ATTACH|DETACH] definitions */ +#include <windows.h> +#endif /* All we really need to do is remove the 'error' state when a thread * detaches */ |