X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7818a75c167907fa70dcaeada49c9d8ba82d599f..7c5190745f8d6362354aa9018a3f0867990c4ac6:/samples/mfc/stdafx.h?ds=inline diff --git a/samples/mfc/stdafx.h b/samples/mfc/stdafx.h index 75c9084dca..a814f87e7f 100644 --- a/samples/mfc/stdafx.h +++ b/samples/mfc/stdafx.h @@ -1 +1,7 @@ +// normally this is defined by the IDE by "Using MFC" option but if it isn't +// (e.g. because we use bakefile-generated projects), do it ourselves to ensure +// that MFC libraries are linked in +#ifndef _AFXDLL + #define _AFXDLL +#endif #include