* 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
This commit is contained in:
eban 2011-06-29 14:40:44 +00:00
parent 2a9819b747
commit 64263ddeb6

View File

@ -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>