From f4dd883389585aaf8fad2e586bc451295b668191 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 1 Jun 2010 09:55:18 -0700 Subject: [PATCH] Fix build. Missing a #define to map android_atomic_swap to its new name. Worked fine in the other branches, because nobody was using android_atomic_swap in the other branches. Change-Id: I0e730e9823ac5cd2fee5a3f856ce05d36df5d87e --- include/cutils/atomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cutils/atomic.h b/include/cutils/atomic.h index 0200709e1..4979c8acd 100644 --- a/include/cutils/atomic.h +++ b/include/cutils/atomic.h @@ -121,6 +121,7 @@ int android_atomic_release_cas(int32_t oldvalue, int32_t newvalue, */ #define android_atomic_write android_atomic_release_store #define android_atomic_cmpxchg android_atomic_release_cas +#define android_atomic_swap android_atomic_release_swap #ifdef __cplusplus } // extern "C"