From: hboehm Date: Mon, 23 Jul 2007 21:05:19 +0000 (+0000) Subject: 2007-07-23 Hans Boehm (really Jim Marshall) X-Git-Tag: gc7_1alpha2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f66e4455890858dbdcadb1d501b804b63b96154;p=libatomic_ops 2007-07-23 Hans Boehm (really Jim Marshall) * src/atomic_ops/sysdeps/msftc/x86.h (_InterlockedExchangeAdd): Define for VC++6. --- 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