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
This commit is contained in:
Andy McFadden 2010-06-01 09:55:18 -07:00
parent 8264358f5b
commit f4dd883389

View file

@ -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"