Werner Koch 4a62318422
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
2024-12-04 15:33:02 +01:00
..
2022-09-15 13:45:35 +09:00
2018-11-08 12:34:27 +07:00
2018-11-08 12:34:27 +07:00
2024-12-04 15:33:02 +01:00
2023-11-30 00:06:08 +01:00
2017-12-08 05:59:11 +01:00
2020-11-03 17:47:44 -08:00
2020-11-03 17:47:44 -08:00
2022-10-26 12:10:57 +02:00
2024-11-05 14:19:17 +01:00
2024-11-06 11:38:59 +01:00
2024-07-05 13:52:33 +09:00