summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2014-08-08 14:19:14 -0700
committerHans Boehm <hboehm@google.com>2014-08-08 17:14:30 -0700
commit66629e0de532376fa3ef43175ad05eccd21114da (patch)
treeb1a4fe410fa86269c9e05ecb193091d178e2b636 /include/binder
parent735082ea156d91cf72c241e9134abc22038c8f13 (diff)
downloadframeworks_native-66629e0de532376fa3ef43175ad05eccd21114da.zip
frameworks_native-66629e0de532376fa3ef43175ad05eccd21114da.tar.gz
frameworks_native-66629e0de532376fa3ef43175ad05eccd21114da.tar.bz2
Revert "Revert "Remove incorrect android_atomic_...64 use.""
This reverts commit 9dc5c269f74ac76f62515e3d9558e67c6e63067d. Adds a stdint.h include in case stdatomic.h stops including that. Change-Id: If3dd1db1f1132c0f2dc1efb0a44617d3f36d7cfb
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/Binder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/binder/Binder.h b/include/binder/Binder.h
index ba3ac4b..86628a0 100644
--- a/include/binder/Binder.h
+++ b/include/binder/Binder.h
@@ -17,6 +17,8 @@
#ifndef ANDROID_BINDER_H
#define ANDROID_BINDER_H
+#include <stdatomic.h>
+#include <stdint.h>
#include <binder/IBinder.h>
// ---------------------------------------------------------------------------
@@ -69,7 +71,7 @@ private:
class Extras;
- Extras* mExtras;
+ atomic_uintptr_t mExtras; // should be atomic<Extras *>
void* mReserved0;
};