aboutsummaryrefslogtreecommitdiff
path: root/win32/lib/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/lib/crt1.c')
-rw-r--r--win32/lib/crt1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/lib/crt1.c b/win32/lib/crt1.c
index 3e1d17f..cde3910 100644
--- a/win32/lib/crt1.c
+++ b/win32/lib/crt1.c
@@ -31,4 +31,10 @@ int _start(void)
exit(ret);
}
+int _runmain(int argc, char **argv)
+{
+ _controlfp(0x10000, 0x30000);
+ return main(argc, argv, NULL);
+}
+
// =============================================