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:
3b9b713
)
Fix hb_atomic_int_set() implementation for HB_NO_MT
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 24 May 2012 14:46:39 +0000
(10:46 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 24 May 2012 14:46:39 +0000
(10:46 -0400)
As pointed out by Jonathan Kew.
src/hb-atomic-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-atomic-private.hh
b/src/hb-atomic-private.hh
index
03d7df1
..
684e856
100644
(file)
--- a/
src/hb-atomic-private.hh
+++ b/
src/hb-atomic-private.hh
@@
-79,7
+79,7
@@
typedef volatile int hb_atomic_int_t;
#define HB_ATOMIC_INT_NIL 1
typedef volatile int hb_atomic_int_t;
#define hb_atomic_int_add(AI, V) ((AI) += (V), (AI) - (V))
-#define hb_atomic_int_set(AI
)
((void) ((AI) = (V)))
+#define hb_atomic_int_set(AI
, V)
((void) ((AI) = (V)))
#define hb_atomic_int_get(AI) (AI)
#endif