1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up

Solaris compiler.  [ruby-core:08114]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-07-27 07:46:13 +00:00
parent fda57dc9e0
commit 5958a6f8e1
2 changed files with 14 additions and 9 deletions

View file

@ -17,6 +17,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:
@ -59,15 +68,6 @@ 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 <ruby.h>
#include <rubyio.h>
/*
* Common Module
*/