forked from boostorg/smart_ptr
Do not include sp_interlocked.hpp when not on Windows
This commit is contained in:
@@ -8,11 +8,11 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined( __CYGWIN__ )
|
||||||
|
|
||||||
#include <boost/smart_ptr/detail/sp_interlocked.hpp>
|
#include <boost/smart_ptr/detail/sp_interlocked.hpp>
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/detail/lightweight_test.hpp>
|
||||||
|
|
||||||
#if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined( __CYGWIN__ )
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
long x = 0, r;
|
long x = 0, r;
|
||||||
|
Reference in New Issue
Block a user