Add _WIN32_WINNT definitions to avoid compilations errors with VS2005 (undefined Win32 API symbols).

This commit is contained in:
David Capello 2011-01-20 17:28:21 -03:00
parent e9bc81cc1d
commit 610e06931b

View File

@ -194,6 +194,8 @@ if(WIN32)
list(APPEND PLATFORM_LIBS dbghelp) list(APPEND PLATFORM_LIBS dbghelp)
endif() endif()
add_definitions(-D_WIN32_WINNT=0x0500)
endif(WIN32) endif(WIN32)
# -- Mac OS X -- # -- Mac OS X --