X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd866271710b65d219be00f8ad1fbc3e3de47346..f60b1d829dd8a6d5e47a2adcd3690acb3bd10150:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 577873e340..ffd0db8921 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -251,7 +251,7 @@ int wxEntry(int& argc, wxChar **argv) #endif // wxUSE_BASE -#if wxUSE_GUI +#if wxUSE_GUI && defined(__WXMSW__) // ---------------------------------------------------------------------------- // Windows-specific wxEntry @@ -370,7 +370,7 @@ DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved)) #endif // !NOMAIN -#endif // wxUSE_GUI +#endif // wxUSE_GUI && __WXMSW__ // ---------------------------------------------------------------------------- // global HINSTANCE