[mono/mono] c17e2527: Add comment explaining the TARGET_OSX oddity in atomic.c.

"alexrp ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141dcdcd73e-a351206c-f151-498c-ac37-04e3fd3ef2c6-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/e6b5336bb9d1...c17e2527d150

   Commit: c17e2527d1500c35939b54a21bf770a7276b1c08
   Author: Alex Rønne Petersen <[email protected]> 
     Date: 2013-10-21 21:10:44 GMT
      URL: https://github.com/mono/mono/commit/c17e2527d1500c35939b54a21bf770a7276b1c08

Add comment explaining the TARGET_OSX oddity in atomic.c.

Changed paths:
  M mono/utils/atomic.c

Modified: 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)
 {
_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.