From: Vadim Zeitlin Date: Wed, 1 Nov 2006 21:38:42 +0000 (+0000) Subject: define _AFXDLL to ensure that MFC libraries are linked in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/abe2128564313418bf974218faf475525afe2613 define _AFXDLL to ensure that MFC libraries are linked in git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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