projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b5336
)
Add comment explaining the TARGET_OSX oddity in atomic.c.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Mon, 21 Oct 2013 21:10:44 +0000
(23:10 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Mon, 21 Oct 2013 21:10:44 +0000
(23:10 +0200)
mono/utils/atomic.c
patch
|
blob
|
history
diff --git
a/mono/utils/atomic.c
b/mono/utils/atomic.c
index 4d59ea356cbee39df26799e9c879951113dc7bd9..abea03e41deaad2c13255c53656cc5c8edbc365f 100755
(executable)
--- a/
mono/utils/atomic.c
+++ b/
mono/utils/atomic.c
@@
-425,6
+425,8
@@
void InterlockedWrite64(volatile gint64 *dst, gint64 val)
#if defined (TARGET_OSX)
+/* The compiler breaks if this code is in the header... */
+
gint64
InterlockedCompareExchange64(volatile gint64 *dest, gint64 exch, gint64 comp)
{