aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-28 22:13:24 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-28 22:13:24 -0400
commit2e10ea4650c3c9ff0ce6881083c84945326122c8 (patch)
treeb2ff7c8d004947837fca5d4f7677bc7e3a026a45 /src/_cffi_src
parent1e88d741f6e15d9170466a08dfe85f28b12c7623 (diff)
downloadcryptography-2e10ea4650c3c9ff0ce6881083c84945326122c8.tar.gz
cryptography-2e10ea4650c3c9ff0ce6881083c84945326122c8.tar.bz2
cryptography-2e10ea4650c3c9ff0ce6881083c84945326122c8.zip
simplify the macro def check
Diffstat (limited to 'src/_cffi_src')
-rw-r--r--src/_cffi_src/build_openssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_cffi_src/build_openssl.py b/src/_cffi_src/build_openssl.py
index 3f925290..14ba5b35 100644
--- a/src/_cffi_src/build_openssl.py
+++ b/src/_cffi_src/build_openssl.py
@@ -46,7 +46,7 @@ _PRE_INCLUDE = """
#if !defined(LIBRESSL_VERSION_NUMBER)
#include <openssl/e_os2.h>
#endif
-#if defined(OPENSSL_SYS_WINDOWS) || defined(_WIN32)
+#if defined(_WIN32)
#include <windows.h>
#endif
"""