summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-29 14:40:44 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-29 14:40:44 +0000
commit64263ddeb6b925866bc4ad2d5c74300af178b896 (patch)
tree424b136e9e7b9592ca3717fba110a232a6650097 /ext
parent2a9819b7475c503e6b4ed5056dffae0dd3e0fc1d (diff)
* 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')
-rw-r--r--ext/openssl/ossl.h4
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>