]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
compilation fix for !MSVC
[wxWidgets.git] / src / msw / main.cpp
index 1ee977b1048181b2503482b56f6ba3a11b7c6a6d..6803110d507b83db10d280311bbdacaef097275b 100644 (file)
@@ -66,7 +66,11 @@ HINSTANCE wxhInstance = 0;
 
 #if !defined(_WINDLL)
 
-#if defined(__TWIN32__) || defined(__WXWINE__)
+#if defined(__WXWINE__)
+    #define HINSTANCE HINSTANCE__*
+
+    extern "C"
+#elif defined(__TWIN32__) || defined(__WXMICROWIN__)
     #define HINSTANCE HANDLE
 
     extern "C"