diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 07:46:13 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 07:46:13 +0000 |
| commit | b8d7bc8bb7339ce5a3ab1fcb7f92c7a35bbc4f6c (patch) | |
| tree | e2cad6d602015610781ea47fc82cc97ac0fff2c8 /ext | |
| parent | b6fb77a926179668a878aec1b754c62df6ebab2a (diff) | |
| download | ruby-b8d7bc8bb7339ce5a3ab1fcb7f92c7a35bbc4f6c.tar.gz ruby-b8d7bc8bb7339ce5a3ab1fcb7f92c7a35bbc4f6c.tar.xz ruby-b8d7bc8bb7339ce5a3ab1fcb7f92c7a35bbc4f6c.zip | |
* ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
Solaris compiler. [ruby-core:08114]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/openssl/ossl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 73e7246c4..c0325229c 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -18,6 +18,15 @@ 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 <ruby.h> +#include <rubyio.h> + +/* * Check the OpenSSL version * The only supported are: * OpenSSL >= 0.9.7 @@ -60,15 +69,6 @@ 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 <ruby.h> -#include <rubyio.h> - -/* * Common Module */ extern VALUE mOSSL; |
