Apply patch #2263850 to fix ruby/file.i ... rubyio.h filename change in ruby 1.9.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-23 22:29:07 +00:00
commit cd43bd063d
2 changed files with 11 additions and 0 deletions

View file

@ -1,6 +1,10 @@
Version 1.3.37 (in progress)
============================
2008-11-23: wsfulton
[ruby] Apply patch #2263850 to fix ruby/file.i ... rubyio.h filename change in
ruby 1.9.
2008-11-23: wsfulton
Apply patch #2319790 from Johan Hake to fix shared_ptr usage in std::tr1 namespace.

View file

@ -3,7 +3,14 @@
#ifdef __cplusplus
extern "C" {
#endif
// Ruby 1.9 changed the file name of this header
#ifdef HAVE_RUBY_IO_H
#include "ruby/io.h"
#else
#include "rubyio.h"
#endif
#ifdef __cplusplus
}
#endif