mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-12-02 11:17:46 +01:00
getuid issue on github workflow
This commit is contained in:
1 parent
2926904cf7
commit
f0c6575a60
1 file changed
+6
@@ -30,6 +30,12 @@
|
||||
std::vector<std::thread> threads;
|
||||
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
|
||||
* recievers */
|
||||
#define PRINT_IN_COLOR(c, f, ...) \
|
||||
|
||||
Reference in new issue
Block a user