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:
parent
f78bdddb9d
commit
cd43bd063d
2 changed files with 11 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.37 (in progress)
|
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
|
2008-11-23: wsfulton
|
||||||
Apply patch #2319790 from Johan Hake to fix shared_ptr usage in std::tr1 namespace.
|
Apply patch #2319790 from Johan Hake to fix shared_ptr usage in std::tr1 namespace.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,14 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Ruby 1.9 changed the file name of this header
|
||||||
|
#ifdef HAVE_RUBY_IO_H
|
||||||
|
#include "ruby/io.h"
|
||||||
|
#else
|
||||||
#include "rubyio.h"
|
#include "rubyio.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue