X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8ee71c7023df4a96b862c425552e1305d1300d5..c6e62f74fcac5b62889b59e7ce7a41d0ce884d7b:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index f1aad3735e..eb56bcfa05 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -1270,6 +1270,6 @@ wxApp::GetStdIcon(int which) const // For some reason, with MSVC++ 1.5, WinMain isn't linked in properly // if in a separate file. So include it here to ensure it's linked. -#if (defined(__VISUALC__) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !defined(__TWIN32__)) +#if (defined(__VISUALC__) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !defined(__TWIN32__) && !defined(WXMAKINGDLL)) #include "main.cpp" #endif