X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbcb41664baa3006deb0a6d27ad1193fa792ea5e..a3ef5bf5045991260005634272633717c0a26174:/src/msw/dummy.cpp diff --git a/src/msw/dummy.cpp b/src/msw/dummy.cpp index 50f5c99001..e03022c6f5 100644 --- a/src/msw/dummy.cpp +++ b/src/msw/dummy.cpp @@ -39,8 +39,11 @@ #pragma hdrstop #endif -// Foils optimizations in Visual C++ (see also wx_main.cc) +// Foils optimizations in Visual C++ (see also app.cpp). Without it, +// dummy.obj isn't linked and we get a linker error. +#if defined(_MSC_VER) && defined(__WIN16__) char wxDummyChar=0; +#endif #if defined(WXUSINGDLL)