Skip to content
Snippets Groups Projects
Commit fed730b0 authored by brad kittenbrink's avatar brad kittenbrink
Browse files

Fix for windows build breakage. Set WINVER and _WIN32_WINNT preprocessor...

Fix for windows build breakage.  Set WINVER and _WIN32_WINNT preprocessor definitions appropriately for using windows XP API calls.
parent 8d6fec5c
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,10 @@ if (WINDOWS) ...@@ -74,6 +74,10 @@ if (WINDOWS)
if (NOT VS_DISABLE_FATAL_WARNINGS) if (NOT VS_DISABLE_FATAL_WARNINGS)
add_definitions(/WX) add_definitions(/WX)
endif (NOT VS_DISABLE_FATAL_WARNINGS) endif (NOT VS_DISABLE_FATAL_WARNINGS)
# configure win32 API for windows XP+ compatibility
set(WINVER "0x0501" CACHE STRING "Win32 API Target version (see http://msdn.microsoft.com/en-us/library/aa383745%28v=VS.85%29.aspx)")
add_definitions("/DWINVER=${WINVER}" "/D_WIN32_WINNT=${WINVER}")
endif (WINDOWS) endif (WINDOWS)
......
...@@ -214,9 +214,9 @@ ...@@ -214,9 +214,9 @@
<key>windows</key> <key>windows</key>
<map> <map>
<key>md5sum</key> <key>md5sum</key>
<string>94fd43f534e2055858d524086384907d</string> <string>72e6e2eff5d146a107f3059b6c31fb95</string>
<key>url</key> <key>url</key>
<uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/boost-1.39.0-windows-20100219.tar.bz2</uri> <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/boost-1.39.0-windows-20100630.tar.bz2</uri>
</map> </map>
</map> </map>
</map> </map>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment