X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbcb41664baa3006deb0a6d27ad1193fa792ea5e..2d120f8391920145647ec10e84629bc21fa9f1bb:/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)