Home GnuPG

Add a configure test for gettid.

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

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

Details

Provenance
wernerAuthored on Dec 4 2024, 3:32 PM
Parents
rGPGMEPP56718f8d204f: cpp: Add Kyber algorithm
Branches
Unknown
Tags
Unknown

Event Timeline