Skip to content

Commit

Permalink
* ext/openssl/ossl.h (OPENSSL_SYS_WIN32): define only if not defined.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Jun 29, 2011
1 parent 2a9819b commit 64263dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/openssl/ossl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 64263dd

Please sign in to comment.