[atomic] Comment

This commit is contained in:
Behdad Esfahbod committed 2021-02-22 17:21:27 -07:00
1 parent 3528a21e8d
commit a666fe64a9
1 file changed
+3 -1
+3 -1
View File
@@ -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>