Bug 1061764 - Atomic<bool, Relaxed> should mean no synchronization on windows x86, r=froydnj

This commit is contained in:
Hannes Verschore 2014-09-04 11:08:00 +02:00
parent de99ffb74b
commit e729b5e319

View File

@ -40,7 +40,14 @@
# elif MOZ_USING_LIBCXX
# define MOZ_HAVE_CXX11_ATOMICS
# endif
#elif defined(_MSC_VER) && _MSC_VER >= 1700
/*
* Although Visual Studio 2012's CRT supports <atomic>, its atomic load
* implementation unnecessarily uses an atomic intrinsic for the less
* restrictive memory orderings, which can be prohibitively expensive.
* Therefore, we require at least Visual Studio 2013 for using the CRT
* (bug 1061764).
*/
#elif defined(_MSC_VER) && _MSC_VER >= 1800
# if defined(DEBUG)
/*
* Provide our own failure code since we're having trouble linking to