mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 01:54:21 +01:00
[atomic] Comment
This commit is contained in:
1 parent
3528a21e8d
commit
a666fe64a9
1 file changed
+3
-1
+3
-1
@@ -52,7 +52,7 @@
|
||||
|
||||
#elif !defined(HB_NO_MT) && defined(__ATOMIC_ACQUIRE)
|
||||
|
||||
/* C++11-style GCC primitives. */
|
||||
/* C++11-style GCC primitives. We prefer these as they don't require standard library. */
|
||||
|
||||
#define _hb_memory_barrier() __sync_synchronize ()
|
||||
|
||||
@@ -102,6 +102,8 @@ _hb_atomic_ptr_impl_cmplexch (const void **P, const void *O_, const void *N)
|
||||
|
||||
|
||||
#elif !defined(HB_NO_MT) && defined(_WIN32)
|
||||
/* Windows branch still needed because MSVC doesn't correctly define __cplusplus:
|
||||
* https://github.com/harfbuzz/harfbuzz/pull/2362 */
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user