Do not include sp_interlocked.hpp when not on Windows

This commit is contained in:
Peter Dimov
2014-02-13 12:51:23 +02:00
parent 8c9e8b5556
commit dcfa031de7

View File

@ -8,11 +8,11 @@
// 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/detail/lightweight_test.hpp>
#if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined( __CYGWIN__ )
int main()
{
long x = 0, r;