Skip to content

Commit 331b5a6

Browse files
committed
Merge #70: Fix check for pthread_threadid_np
373d0d7 Fix check for `pthread_threadid_np` (Hennadii Stepanov) Pull request description: Otherwise, the test always fails with "error: ‘uint64_t’ was not declared in this scope". ACKs for top commit: hebasto: > Code review ACK 373d0d7. Would be curious to know what platform(s) the problem happens on, but thanks for the fix! macOS at least. ryanofsky: Code review ACK 373d0d7. Would be curious to know what platform(s) the problem happens on, but thanks for the fix! Tree-SHA512: 1db150366f7dbebbadd2572d02fdce2ca9b6fd7efa912f013bb10e9935e1f399a148d95520a66d834cd3d4a7560c6862a4dae3208f35f10ca299711e09aa779e
2 parents c6849de + 373d0d7 commit 331b5a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ check_cxx_source_compiles("
2323
HAVE_PTHREAD_GETNAME_NP)
2424

2525
check_cxx_source_compiles("
26+
#include <cstdint>
2627
#include <pthread.h>
2728
int main(int argc, char** argv)
2829
{

0 commit comments

Comments
 (0)