summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000000..4741f646e8
--- /dev/null
+++ b/main.c
@@ -0,0 +1,33 @@
+/************************************************
+
+ main.c -
+
+ $Author$
+ $Date$
+ created at: Fri Aug 19 13:19:58 JST 1994
+
+************************************************/
+
+#include "ruby.h"
+
+#ifdef DJGPP
+unsigned int _stklen = 0x100000;
+#endif
+
+#ifdef __human68k__
+int _stacksize = 131072;
+#endif
+
+int
+main(argc, argv, envp)
+ int argc;
+ char **argv, **envp;
+{
+#if defined(NT)
+ NtInitialize(&argc, &argv);
+#endif
+
+ ruby_init();
+ ruby_options(argc, argv);
+ ruby_run();
+}