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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user