diff options
author | Werner Koch <[email protected]> | 2024-12-04 14:32:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-12-04 14:33:02 +0000 |
commit | 4a62318422ca3f0f72b6fd00031daba556a10687 (patch) | |
tree | c323b2fbe60f15cbf141be0e54978a42c79a8b88 /lang/cpp/src/util.cpp | |
parent | cpp: Add Kyber algorithm (diff) | |
download | gpgme-4a62318422ca3f0f72b6fd00031daba556a10687.tar.gz gpgme-4a62318422ca3f0f72b6fd00031daba556a10687.zip |
Add a configure test for gettid.
* configure.ac (HAVE_GETTID,HAVE_SYS_GETTID): New test.
* src/debug.c: Include syscall.h if needed.
(tid_log_callback) [HAVE_SYS_GETTID]: Use SYS_gettid
--
Linux introduced the gettid syscall with 2.4.11 but glibc only with
its version 2.30. This patch allows building on older platforms.
Co-authored-by: lgh1
Diffstat (limited to 'lang/cpp/src/util.cpp')
0 files changed, 0 insertions, 0 deletions