Add comment explaining the TARGET_OSX oddity in atomic.c.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 21 Oct 2013 21:10:44 +0000 (23:10 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 21 Oct 2013 21:10:44 +0000 (23:10 +0200)
mono/utils/atomic.c

index 4d59ea356cbee39df26799e9c879951113dc7bd9..abea03e41deaad2c13255c53656cc5c8edbc365f 100755 (executable)
@@ -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)
 {