Use rb_errinfo() instead of ruby_errinfo for Ruby 1.9
This commit is contained in:
1 parent
afabe7b0ef
commit
d972975d87
2 files changed
+5
No files matched your search
@@ -21,6 +21,10 @@
|
||||
#undef PACKAGE_URL
|
||||
#include <ruby.h>
|
||||
|
||||
#ifdef HAVE_RB_ERRINFO
|
||||
#define ruby_errinfo rb_errinfo()
|
||||
#endif
|
||||
|
||||
/**
|
||||
* main routine, parses args and reads from console
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user