Skip to content

Commit 436646d

Browse files
authored
Merge pull request #32 from fiendish/master
reduce mfc exe size with this one weird trick
2 parents 0fdad23 + 0677ef3 commit 436646d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdafx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#pragma warning (disable : 4786) // identifier was truncated to 'number' characters in the debug information
2424
#pragma warning (disable : 4996) // MBCS support in MFC is deprecated and may be removed in a future version of MFC
2525

26-
26+
#define _AFX_NO_MFC_CONTROLS_IN_DIALOGS
2727
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
2828
#define HAVE_CONFIG_H // for PCRE
2929

@@ -884,4 +884,4 @@ typedef struct
884884
{
885885
LUALIB_API int (luaL_typerror) (lua_State *L, int narg, const char *tname);
886886
}
887-
#endif // LUA_52
887+
#endif // LUA_52

0 commit comments

Comments
 (0)