mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/adb Changes: https://android.googlesource.com/platform/system/core/+log/platform-tools-29.0.5..platform-tools-29.0.6/fastboot Reported by: portscout
16 lines
286 B
C++
16 lines
286 B
C++
--- 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>
|