summaryrefslogtreecommitdiff
path: root/desktop/win32/source/sowrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/win32/source/sowrapper.cxx')
-rw-r--r--desktop/win32/source/sowrapper.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/win32/source/sowrapper.cxx b/desktop/win32/source/sowrapper.cxx
new file mode 100644
index 000000000000..19009514c523
--- /dev/null
+++ b/desktop/win32/source/sowrapper.cxx
@@ -0,0 +1,10 @@
+#include <windows.h>
+#include "main.h"
+
+int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
+{
+ if ( (LONG)GetVersion() < 0 )
+ return MainA();
+ else
+ return MainW();
+}