diff options
-rw-r--r-- | ext/openssl/ossl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index cf393d4a67..b112aebf10 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -46,7 +46,9 @@ extern "C" { #if defined(_WIN32) # define OSSL_NO_CONF_API 1 -# define OPENSSL_SYS_WIN32 1 +# if !defined(OPENSSL_SYS_WIN32) +# define OPENSSL_SYS_WIN32 1 +# endif # include <winsock2.h> #endif #include <errno.h> |