summaryrefslogtreecommitdiff
path: root/win32/winmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/winmain.c')
-rw-r--r--win32/winmain.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/winmain.c b/win32/winmain.c
new file mode 100644
index 0000000..4902d1d
--- /dev/null
+++ b/win32/winmain.c
@@ -0,0 +1,10 @@
+#include <windows.h>
+#include <stdio.h>
+
+extern int main(int, char**, char**);
+
+int WINAPI
+WinMain(HINSTANCE current, HINSTANCE prev, LPSTR cmdline, int showcmd)
+{
+ return main(0, NULL, NULL);
+}