projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1de86e
)
[atomic] Change Mac atomic int type to int
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 05:43:53 +0000
(22:43 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 05:43:53 +0000
(22:43 -0700)
If ever int is not 32bit, we'll fix this...
src/hb-atomic-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-atomic-private.hh
b/src/hb-atomic-private.hh
index
f62cfbd
..
a888c46
100644
(file)
--- a/
src/hb-atomic-private.hh
+++ b/
src/hb-atomic-private.hh
@@
-159,7
+159,7
@@
static inline bool _hb_compare_and_swap_ptr (const void **P, const void *O, cons
#define _hb_memory_barrier() OSMemoryBarrier ()
-typedef int
32_t
hb_atomic_int_impl_t;
+typedef int hb_atomic_int_impl_t;
#define hb_atomic_int_impl_add(AI, V) (OSAtomicAdd32Barrier ((V), (AI)) - (V))
#if (MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 || __IPHONE_VERSION_MIN_REQUIRED >= 20100)