Fixed MSCV2005 build with TBB enabled.
This commit is contained in:
@@ -76,7 +76,10 @@
|
||||
#endif
|
||||
|
||||
#elif defined WIN32 || defined _WIN32
|
||||
#define WIN32_MEAN_AND_LEAN
|
||||
#define WIN32_MEAN_AND_LEAN
|
||||
#ifndef _WIN32_WINNT // This is needed for the declaration of TryEnterCriticalSection in winbase.h with Visual Studio 2005 (and older?)
|
||||
#define _WIN32_WINNT 0x0400 // http://msdn.microsoft.com/en-us/library/ms686857(VS.85).aspx
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#undef min
|
||||
#undef max
|
||||
|
Reference in New Issue
Block a user