mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
Bug 1061764 - Atomic<bool, Relaxed> should mean no synchronization on windows x86, r=froydnj
This commit is contained in:
parent
de99ffb74b
commit
e729b5e319
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user