[ruby/strscan] jruby: Check if len++ walked off the end
[ruby.git] / goruby.c
blob3ca96bfda0641a129587b2f1c942200a2e700105
1 static void Init_golf_prelude(void);
2 static void *goruby_options(int argc, char **argv);
3 static int goruby_run_node(void *arg);
4 #define ruby_options goruby_options
5 #define ruby_run_node goruby_run_node
6 #include "main.c"
7 #undef ruby_options
8 #undef ruby_run_node
10 #if defined _WIN32
11 #include <io.h>
12 #include <fcntl.h>
13 #define pipe(p) _pipe(p, 32L, _O_NOINHERIT)
14 #elif defined HAVE_UNISTD_H
15 #include <unistd.h>
16 #endif