aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-16 14:58:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-16 14:58:34 +0000
commit8695612caf8afe1138a7baaa142658dd93c70293 (patch)
treec6d71782b58b573eb26d942682b84acc0a33561c /ext/openssl/ossl.h
parent32df87feabb8b2b99fc47e64896b2c922dca6451 (diff)
downloadruby-8695612caf8afe1138a7baaa142658dd93c70293.tar.gz
* marshal.c (w_symbol, w_object): get rid of warnings.
* re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r--ext/openssl/ossl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h
index 72b183986e..7a8b3e1853 100644
--- a/ext/openssl/ossl.h
+++ b/ext/openssl/ossl.h
@@ -16,15 +16,13 @@ extern "C" {
#endif
/*
- * Check the Ruby version and OpenSSL
+ * Check the OpenSSL version
* The only supported are:
- * Ruby >= 1.7.2
* OpenSSL >= 0.9.7
*/
-#include <version.h>
#include <openssl/opensslv.h>
-#if defined(NT) || defined(_WIN32)
+#if defined(_WIN32)
# define OpenFile WINAPI_OpenFile
#endif
#include <errno.h>
@@ -40,7 +38,7 @@ extern "C" {
# define OSSL_OCSP_ENABLED
# include <openssl/ocsp.h>
#endif
-#if defined(NT) || defined(_WIN32)
+#if defined(_WIN32)
# undef OpenFile
#endif