mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Changes: https://android.googlesource.com/platform/system/core/+log/android-9.0.0_r3..platform-tools-29.0.3/fastboot
16 lines
288 B
C++
16 lines
288 B
C++
--- liblog/logger.h.orig 2019-08-13 02:10:58 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 <cutils/list.h>
|
|
#include <log/log.h>
|