зеркало из https://github.com/mozilla/gecko-dev.git
Bug 982310 - Hack around problems linking std::_Debug_message; r=ehsan
--HG-- extra : amend_source : 2e0f6f26823ee5fcce16dfaf8791ae57d8ac62cb
This commit is contained in:
Родитель
ada9b58e25
Коммит
926fd8dee8
|
@ -41,6 +41,13 @@
|
|||
# define MOZ_HAVE_CXX11_ATOMICS
|
||||
# endif
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1700
|
||||
# if defined(DEBUG)
|
||||
/*
|
||||
* Provide our own failure code since we're having trouble linking to
|
||||
* std::_Debug_message (bug 982310).
|
||||
*/
|
||||
# define _INVALID_MEMORY_ORDER MOZ_CRASH("Invalid memory order")
|
||||
# endif
|
||||
# define MOZ_HAVE_CXX11_ATOMICS
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче