Re: glib/gatomic.c



On 13-03-07 07:26 AM, John Emmas wrote:
+#include <intrin.h>                   /* Added by JE - 02-12-2012 */
+
+#pragma intrinsic (_InterlockedAnd)   /* Added by JE - 02-12-2012 */
+#pragma intrinsic (_InterlockedOr)    /* Added by JE - 02-12-2012 */
+#pragma intrinsic (_InterlockedXor)   /* Added by JE - 02-12-2012 */
+
 #define InterlockedAnd _InterlockedAnd
 #define InterlockedOr _InterlockedOr
 #define InterlockedXor _InterlockedXor
+
 #endif

Humm.  Does removing the defines do the trick?  I can't find any references to
the difference between the underscored and plain versions of these :(.

-- 
behdad
http://behdad.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]