WIN32_WINNT definition should really be in dtoolbase.h, not dtoolbase_cc.h

This commit is contained in:
David Rose 2004-01-15 14:43:12 +00:00
parent 43e5133e35
commit b6878df8c4
2 changed files with 7 additions and 7 deletions

View File

@ -76,6 +76,13 @@
#endif
#endif /* WIN32_VC */
/*
include win32 defns for everything up to WinServer2003, and assume
I'm smart enough to use GetProcAddress for backward compat on
w95/w98 for newer fns
*/
#define _WIN32_WINNT 0x0502
#include "dtoolsymbols.h"
#ifdef __GNUC__

View File

@ -108,13 +108,6 @@ typedef ios::iostate ios_iostate;
typedef ios::seekdir ios_seekdir;
#endif
#ifdef WIN32_VC
// include win32 defns for everything up to WinServer2003, and assume I'm smart
// enough to use GetProcAddress for backward compat on w95/w98 for
// newer fns
#define _WIN32_WINNT 0x0502
#endif // WIN32_VC
#if defined(WIN32_VC) && defined(FORCE_INLINING)
// If FORCE_INLINING is defined, we use the keyword __forceinline,
// which tells MS VC++ to override its internal benefit heuristic