summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/main.c b/main.c
index 473b51d..98a1384 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,8 @@
************************************************/
+#include "ruby.h"
+
#ifdef DJGPP
unsigned int _stklen = 0x100000;
#endif
@@ -16,13 +18,6 @@ unsigned int _stklen = 0x100000;
int _stacksize = 131072;
#endif
-#if (_MSC_VER >= 1000)
-__declspec(dllexport) void __stdcall ruby_init();
-__declspec(dllexport) void __stdcall ruby_options(int, char *[]);
-__declspec(dllexport) void __stdcall ruby_run(void);
-__declspec(dllexport) void __stdcall NtInitialize(int *, char ***);
-#endif
-
int
main(argc, argv, envp)
int argc;