From c26f830825775df7dd30eb2582626ad5db05f72f Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 29 Apr 2010 11:56:33 +0200 Subject: fixed recent regression: did not compile on systems with atomic instructions --- runtime/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/atomic.h b/runtime/atomic.h index 30478440..d8cdff7b 100644 --- a/runtime/atomic.h +++ b/runtime/atomic.h @@ -39,7 +39,7 @@ * They simply came in too late. -- rgerhards, 2008-04-02 */ #ifdef HAVE_ATOMIC_BUILTINS -# define ATOMIC_SUB(data, val) __sync_fetch_and_sub(data, val) +# define ATOMIC_SUB(data, val, phlpmut) __sync_fetch_and_sub(data, val) # define ATOMIC_ADD(data, val) __sync_fetch_and_add(&(data), val) # define ATOMIC_INC(data, phlpmut) ((void) __sync_fetch_and_add(data, 1)) # define ATOMIC_INC_AND_FETCH(data) __sync_fetch_and_add(&(data), 1) -- cgit v1.2.3