summaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot/files/patch-liblog_logger.h
blob: c446ea70c5c1e737957e98575928b3c3cbe99281 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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>