Mageia Bugzilla – Attachment 11107 Details for
Bug 23853
Update android-tools to 9.0.0_r21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Atomic fix
0003-atomic-fix.patch (text/plain), 446 bytes, created by
Kristoffer Grundström
on 2019-06-18 12:14:37 CEST
(
hide
)
Description:
Atomic fix
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2019-06-18 12:14:37 CEST
Size:
446 bytes
patch
obsolete
>diff --git a/core/libcutils/include/cutils/trace.h b/core/libcutils/include/cutils/trace.h >index fcbdc9b..4281375 100644 >--- a/core/libcutils/include/cutils/trace.h >+++ b/core/libcutils/include/cutils/trace.h >@@ -18,7 +18,12 @@ > #define _LIBS_CUTILS_TRACE_H > > #include <inttypes.h> >+#ifdef __cplusplus >+#include <atomic> >+using namespace std; >+#else > #include <stdatomic.h> >+#endif > #include <stdbool.h> > #include <stdint.h> > #include <stdio.h>
diff --git a/core/libcutils/include/cutils/trace.h b/core/libcutils/include/cutils/trace.h index fcbdc9b..4281375 100644 --- a/core/libcutils/include/cutils/trace.h +++ b/core/libcutils/include/cutils/trace.h @@ -18,7 +18,12 @@ #define _LIBS_CUTILS_TRACE_H #include <inttypes.h> +#ifdef __cplusplus +#include <atomic> +using namespace std; +#else #include <stdatomic.h> +#endif #include <stdbool.h> #include <stdint.h> #include <stdio.h>
View Attachment As Raw
Actions:
View
Attachments on
bug 23853
:
10474
|
10475
|
10476
|
10477
|
10478
|
10479
|
10480
|
10481
|
10482
|
11104
|
11105
|
11106
|
11107
|
11108
|
11109
|
11110
|
11111
|
11112
|
11113
|
11114