diff options
Diffstat (limited to 'devel/android-tools-adb/files/patch-liblog_logger.h')
-rw-r--r-- | devel/android-tools-adb/files/patch-liblog_logger.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/android-tools-adb/files/patch-liblog_logger.h b/devel/android-tools-adb/files/patch-liblog_logger.h new file mode 100644 index 000000000000..2bf6f1fe9fa0 --- /dev/null +++ b/devel/android-tools-adb/files/patch-liblog_logger.h @@ -0,0 +1,16 @@ +--- liblog/logger.h.orig 2020-02-11 20:44:45 UTC ++++ liblog/logger.h +@@ -16,7 +16,13 @@ + + #pragma once + ++#ifdef __cplusplus ++#include <atomic> ++using std::atomic_int; ++using std::atomic_uintptr_t; ++#else + #include <stdatomic.h> ++#endif + #include <sys/cdefs.h> + + #include <log/log.h> |