X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..cce4b3fe2b05e1d928d7a5930c33c624b2f3a667:/src/msw/dummydll.cpp diff --git a/src/msw/dummydll.cpp b/src/msw/dummydll.cpp index 16f1b40d8c..94d3a94a5f 100644 --- a/src/msw/dummydll.cpp +++ b/src/msw/dummydll.cpp @@ -17,5 +17,9 @@ #include "wx/wxprec.h" -// 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 +