getuid issue on github workflow

This commit is contained in:
2025-07-08 17:40:07 +02:00
parent 2926904cf7
commit f0c6575a60

View File

@ -30,6 +30,12 @@
std::vector<std::thread> threads; std::vector<std::thread> threads;
sls::TLogLevel printHeadersLevel = sls::logDEBUG; sls::TLogLevel printHeadersLevel = sls::logDEBUG;
// gettid added in glibc 2.30
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
#endif
/** Define Colors to print data call back in different colors for different /** Define Colors to print data call back in different colors for different
* recievers */ * recievers */
#define PRINT_IN_COLOR(c, f, ...) \ #define PRINT_IN_COLOR(c, f, ...) \