From 7f66e4455890858dbdcadb1d501b804b63b96154 Mon Sep 17 00:00:00 2001 From: hboehm Date: Mon, 23 Jul 2007 21:05:19 +0000 Subject: [PATCH] 2007-07-23 Hans Boehm (really Jim Marshall) * src/atomic_ops/sysdeps/msftc/x86.h (_InterlockedExchangeAdd): Define for VC++6. --- ChangeLog | 5 ++++- src/atomic_ops/sysdeps/msftc/x86.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6dba2dc..857513a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ -2007-07-05 Andreas Tobler +2007-07-23 Hans Boehm (really Jim Marshall) + * src/atomic_ops/sysdeps/msftc/x86.h (_InterlockedExchangeAdd): Define + for VC++6. +2007-07-05 Andreas Tobler * src/atomic_ops.h: Check for __powerpc64__ and __ppc64__ to include powerpc.h. diff --git a/src/atomic_ops/sysdeps/msftc/x86.h b/src/atomic_ops/sysdeps/msftc/x86.h index ad44458..57a03e4 100644 --- a/src/atomic_ops/sysdeps/msftc/x86.h +++ b/src/atomic_ops/sysdeps/msftc/x86.h @@ -45,6 +45,7 @@ #define _InterlockedIncrement InterlockedIncrement #define _InterlockedDecrement InterlockedDecrement #define _InterlockedExchange InterlockedExchange +#define _InterlockedExchangeAdd InterlockedExchangeAdd #define _InterlockedCompareExchange InterlockedCompareExchange #else -- 2.40.0