|
|
@ -260,22 +260,18 @@ |
|
|
|
# define _CRT_NONSTDC_NO_DEPRECATE 1 |
|
|
|
# define _CRT_NONSTDC_NO_DEPRECATE 1 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/* Set the Target to Vista. However, any symbols required above Win2000
|
|
|
|
/* Set the Target to Win8 */ |
|
|
|
* should be loaded via LoadLibrary() */ |
|
|
|
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1500) |
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1500) |
|
|
|
# define VS2008_MIN_TARGET 0x0600 |
|
|
|
# define MSVC_MIN_TARGET 0x0602 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/* VS2008 default target settings and minimum build target check. */ |
|
|
|
/* MSVC default target settings */ |
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1500) |
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1500) |
|
|
|
# ifndef _WIN32_WINNT |
|
|
|
# ifndef _WIN32_WINNT |
|
|
|
# define _WIN32_WINNT VS2008_MIN_TARGET |
|
|
|
# define _WIN32_WINNT MSVC_MIN_TARGET |
|
|
|
# endif |
|
|
|
# endif |
|
|
|
# ifndef WINVER |
|
|
|
# ifndef WINVER |
|
|
|
# define WINVER VS2008_MIN_TARGET |
|
|
|
# define WINVER MSVC_MIN_TARGET |
|
|
|
# endif |
|
|
|
|
|
|
|
# if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET) |
|
|
|
|
|
|
|
# error VS2008 does not support Windows build targets prior to Windows 2000 |
|
|
|
|
|
|
|
# endif |
|
|
|
# endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -283,10 +279,10 @@ |
|
|
|
target is Windows Vista. */ |
|
|
|
target is Windows Vista. */ |
|
|
|
#if defined(__POCC__) && (__POCC__ >= 500) |
|
|
|
#if defined(__POCC__) && (__POCC__ >= 500) |
|
|
|
# ifndef _WIN32_WINNT |
|
|
|
# ifndef _WIN32_WINNT |
|
|
|
# define _WIN32_WINNT 0x0600 |
|
|
|
# define _WIN32_WINNT 0x0602 |
|
|
|
# endif |
|
|
|
# endif |
|
|
|
# ifndef WINVER |
|
|
|
# ifndef WINVER |
|
|
|
# define WINVER 0x0600 |
|
|
|
# define WINVER 0x0602 |
|
|
|
# endif |
|
|
|
# endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|