summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regex.c b/regex.c
index 20b3d2d66a..6992e7f702 100644
--- a/regex.c
+++ b/regex.c
@@ -43,6 +43,9 @@
#endif
#include "config.h"
+#ifdef RUBY_PLATFORM
+# define RUBY
+#endif
void *xmalloc P((unsigned long));
void *xcalloc P((unsigned long,unsigned long));