projects
/
mariadb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac89f19
)
[PATCH] MDEV-27804 Fails to build - perf schema - thread id of type uintptr_t require...
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Tue, 8 Feb 2022 00:18:27 +0000
(
00:18
+0000)
committer
Otto Kekäläinen
<otto@debian.org>
Sun, 22 May 2022 23:44:02 +0000
(
00:44
+0100)
While building on GNU/Hurd and kfreebsd.
On the C++ standard uintptr_t can be defined in <cstdint>
ref: https://www.cplusplus.com/reference/cstdint/
Fixes: 0d44792a835128a83ff07f14dbbcdd621df9f7da
Gbp-Pq: Name 2006-kfreebsd-amd64.patch
storage/perfschema/my_thread.h
patch
|
blob
|
history
diff --git
a/storage/perfschema/my_thread.h
b/storage/perfschema/my_thread.h
index c1a079ce34d9b71d62579fc8ea92f06b2ff7b794..3ecabbf45b4d3f3bc44d4f07e0c60bc8a8fe7ed6 100644
(file)
--- a/
storage/perfschema/my_thread.h
+++ b/
storage/perfschema/my_thread.h
@@
-18,6
+18,10
@@
#include <cstdint>
#endif
+#if defined(HAVE_INTEGER_PTHREAD_SELF)
+#include <cstdint>
+#endif
+
typedef pthread_key_t thread_local_key_t;
typedef pthread_t my_thread_handle;
typedef pthread_attr_t my_thread_attr_t;