From b3a71949487cba458f3b6882fecb1dcd54c8a0d6 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 25 Dec 2006 11:18:26 +0000 Subject: * ext/openssl/ossl.h: fixed compilation problem on gcc 3.2. [ruby-talk:214786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@11420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/openssl/ossl.h | 20 +++++++++++++------- version.h | 2 +- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77e9b66cc0..d78082ed8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 25 20:08:28 2006 URABE Shyouhei + + * ext/openssl/ossl.h: fixed compilation problem on gcc 3.2. + [ruby-talk:214786] + Mon Dec 25 10:40:40 2006 URABE Shyouhei * stable version 1.8.5-p12 released. diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index c0325229c1..af27bae6a6 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -18,13 +18,10 @@ extern "C" { #endif /* -* OpenSSL has defined RFILE and Ruby has defined RFILE - so undef it! -*/ -#if defined(RFILE) /*&& !defined(OSSL_DEBUG)*/ -# undef RFILE -#endif -#include -#include + *_FILE_OFFSET_BITS needs to be defined before some system headers on + * Solaris. + */ +#include "config.h" /* * Check the OpenSSL version @@ -68,6 +65,15 @@ extern "C" { # undef OpenFile #endif +/* + * OpenSSL has defined RFILE and Ruby has defined RFILE - so undef it! + */ +#if defined(RFILE) /*&& !defined(OSSL_DEBUG)*/ +# undef RFILE +#endif +#include +#include + /* * Common Module */ diff --git a/version.h b/version.h index 24aa6d1c53..20556e346e 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2006-12-25" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20061225 -#define RUBY_PATCHLEVEL 12 +#define RUBY_PATCHLEVEL 13 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -- cgit v1.2.3