Boost logo

Boost :

From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-05-31 21:41:08


The following logic from thread_primitives.hpp needs to allow for a
separately installed platform SDK:

#if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN)
#if _MSC_VER>=1400
#if _MSC_VER==1400
extern "C" unsigned char _interlockedbittestandset(long *a,long b);
extern "C" unsigned char _interlockedbittestandreset(long *a,long b);
#else
extern "C" unsigned char _interlockedbittestandset(volatile long *a,long b);
extern "C" unsigned char _interlockedbittestandreset(volatile long *a,long b);
#endif

Right?

-- 
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk