summaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-06-01 09:55:18 -0700
committerAndy McFadden <fadden@android.com>2010-06-01 09:55:18 -0700
commitf4dd883389585aaf8fad2e586bc451295b668191 (patch)
tree418b024efb23ad1fc37b7baa0a25337dae6ada90 /include/cutils
parent8264358f5b59592d7e8d2902edf9a5c316cb6723 (diff)
downloadcore-f4dd883389585aaf8fad2e586bc451295b668191.tar.gz
core-f4dd883389585aaf8fad2e586bc451295b668191.tar.bz2
core-f4dd883389585aaf8fad2e586bc451295b668191.zip
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
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/atomic.h1
1 files changed, 1 insertions, 0 deletions
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"