2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-01-19 04:02:09 +00:00

Added Windows version specification to fix compilation with MSVC. The code targets for Windows 2000.

This commit is contained in:
Andrey Semashev
2014-06-09 01:18:38 +04:00
parent 0c9b1b3806
commit 313497c6ae
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ project boost/atomic
<link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
<define>BOOST_ATOMIC_SOURCE
<target-os>windows:<define>BOOST_USE_WINDOWS_H
<target-os>windows:<define>_WIN32_WINNT=0x0500
<toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
: usage-requirements
<link>shared:<define>BOOST_ATOMIC_DYN_LINK=1

View File

@@ -15,6 +15,7 @@ project boost/atomic/test
<library>/boost/thread//boost_thread
<library>/boost/atomic//boost_atomic
<target-os>windows:<define>BOOST_USE_WINDOWS_H
<target-os>windows:<define>_WIN32_WINNT=0x0500
<toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
;