X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ef50df3a0fa3c343800c554e609f98fc7575cc..1b489359c4051c23262e3118b4489054ef7f3843:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index f9a4ae5e65..6803110d50 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -66,7 +66,11 @@ HINSTANCE wxhInstance = 0; #if !defined(_WINDLL) -#if defined(__TWIN32__) || defined(__WXWINE__) || defined(__WXMICROWIN__) +#if defined(__WXWINE__) + #define HINSTANCE HINSTANCE__* + + extern "C" +#elif defined(__TWIN32__) || defined(__WXMICROWIN__) #define HINSTANCE HANDLE extern "C"