|
Boost : |
From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2005-09-06 06:10:18
I am trying to change my call_once implementation for boost.thread, so it
doesn't require windows.h to be included. In doing so, I tried to use
boost/detail/interlocked.hpp, and discovered that it doesn't work on
gcc-mingw-4.0.1, since the imported functions are declared in boost::detail
namespace, and the macros don't qualify the names.
Attached is a patch for the file that changes the macros to refer to the
imported functions by fully qualified names.
Please can someone check and commit this for me.
Anthony
-- Anthony Williams Software Developer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk