mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-27804 Fails to build - perf schema - thread id of type uintptr_t requires header
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: 0d44792a83
This commit is contained in:
committed by
Daniel Black
parent
012e724deb
commit
7c6ec0a53b
@@ -14,6 +14,10 @@
|
||||
#include <pthread_np.h>
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user