Re: glib/gatomic.c
- From: Behdad Esfahbod <behdad behdad org>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: glib/gatomic.c
- Date: Thu, 07 Mar 2013 20:20:43 -0500
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]