diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 14:40:44 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 14:40:44 +0000 |
commit | 64263ddeb6b925866bc4ad2d5c74300af178b896 (patch) | |
tree | 424b136e9e7b9592ca3717fba110a232a6650097 /ext/openssl/ossl.h | |
parent | 2a9819b7475c503e6b4ed5056dffae0dd3e0fc1d (diff) | |
download | ruby-64263ddeb6b925866bc4ad2d5c74300af178b896.tar.gz |
* ext/openssl/ossl.h (OPENSSL_SYS_WIN32): define only if not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.h')
-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> |