blob: b4d7699f456ac547f7c6c8ac4c41de14b352d8a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ext_lang.h,v 1.1 2011/06/19 16:01:52 taca Exp $
* Switch to modern Ruby's API: http://cvs.pld-linux.org/
--- ext/lang.h.orig 2011-06-10 06:23:08.000000000 +0000
+++ ext/lang.h
@@ -6,6 +6,10 @@
#include <stdarg.h>
#include <ruby.h>
+#ifndef RUBY_RUBY_H
+#define RUBY18
+#endif
+
#undef close
#undef rename
#undef read
|