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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue