
23 Oct
2013
23 Oct
'13
9:06 p.m.
On Thursday 24 October 2013 00:45:03 Sergey Cheban wrote:
24.10.2013 0:12, Edward Diener пишет:
All that the VC++12 xp build does is allow your program to run under Windows XP. Without that configuration your program will fail if running under Windows XP. It may also set the _WIN32_WINNT macro automatically. You should try it out to see if it does.
Windows SDK 7.1A:
#if !defined(_WIN32_WINNT) && !defined(_CHICAGO_) #define _WIN32_WINNT 0x0601 #endif
Maybe it would be a good idea to just include sdkddkver.h and then analyze _WIN32_WINNT value so that Boost automatically uses the right WinAPI. If the user does not define this macro then we use whatever the default is in the current SDK.