Commit 794e2063 authored by Kent Boortz's avatar Kent Boortz

Define _WIN32_WINNT to the minimum supported Windows version, 0x0500 i.e

Windows 2000.
      
      Visual Studio 2003 and 2005 require
        _WIN32_WINNT >= 0x0500 (Win2000)  for TryEnterCriticalSection.
parent a72c4259
...@@ -146,6 +146,7 @@ IF(MSVC) ...@@ -146,6 +146,7 @@ IF(MSVC)
ENDIF(MSVC) ENDIF(MSVC)
ADD_DEFINITIONS("-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE") ADD_DEFINITIONS("-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE")
ADD_DEFINITIONS("-D_WIN32_WINNT=0x0500")
# This definition is necessary to work around a bug with Intellisense described # This definition is necessary to work around a bug with Intellisense described
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper # here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment