diff options
author | GOTOU Yuuzou <gotoyuzo@notwork.org> | 2003-07-14 19:29:38 +0000 |
---|---|---|
committer | GOTOU Yuuzou <gotoyuzo@notwork.org> | 2003-07-14 19:29:38 +0000 |
commit | 0a86f1fe7a113965f27b5544448d2d4893bc1894 (patch) | |
tree | 74abf45817cf170d14833d4f0c8d52731ffd216e /ossl.h | |
parent | ff4eab599ddaede3879a5b02f7e5a7cb793a5d5f (diff) | |
download | ruby-openssl-history-0a86f1fe7a113965f27b5544448d2d4893bc1894.tar.gz |
* openssl_missing.h: add MS_CALLBACK.
* extconf.rb: should check <openssl/e_os.h>.
* ossl.h: check HAVE_OPENSSL_E_OS_H.
* net/https.rb: follow ruby-1.8.
Diffstat (limited to 'ossl.h')
-rw-r--r-- | ossl.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -15,7 +15,7 @@ extern "C" { #endif -#if defined(NT) +#if defined(NT) || defined(_WIN32) # define OpenFile WINAPI_OpenFile #endif #include <errno.h> @@ -25,8 +25,10 @@ extern "C" { #include <openssl/ssl.h> #include <openssl/hmac.h> #include <openssl/rand.h> -#include <openssl/e_os.h> -#if defined(NT) +#if HAVE_OPENSSL_E_OS_H +# include <openssl/e_os.h> +#endif +#if defined(NT) || defined(_WIN32) # undef OpenFile #endif |