mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/adb Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/fastboot
17 lines
381 B
C++
17 lines
381 B
C++
--- include/cutils/trace.h.orig 2017-06-20 10:50:27 UTC
|
|
+++ include/cutils/trace.h
|
|
@@ -18,8 +18,14 @@
|
|
#define _LIBS_CUTILS_TRACE_H
|
|
|
|
#include <inttypes.h>
|
|
+#ifdef __cplusplus
|
|
+#include <atomic>
|
|
+using std::atomic_bool;
|
|
+using std::memory_order_acquire;
|
|
+#else
|
|
#include <stdatomic.h>
|
|
#include <stdbool.h>
|
|
+#endif
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <sys/cdefs.h>
|