Ruslan Piasetskyi 15bc09b06b engine: platform: linux: Add gettid definition for old systems
The gettid() library support was added in glibc 2.30. Earlier glibc
versions did not provide a wrapper for this system call, necessitating
the use of syscall(2).

Also, put _GNU_SOURCE definition in the guard to avoid the warning:
  ../engine/platform/linux/sys_linux.c:16: warning: "_GNU_SOURCE" redefined
   #define _GNU_SOURCE

  <command-line>: note: this is the location of the previous definition
2024-01-06 13:43:35 +03:00
..
2021-01-04 20:55:10 +03:00
2018-10-06 03:42:09 +03:00
2021-03-07 03:40:01 +03:00
2021-01-04 20:55:10 +03:00
2021-01-04 20:55:10 +03:00
2021-01-04 20:55:10 +03:00
2021-01-04 20:55:10 +03:00
2023-12-30 16:36:13 +03:00
2021-01-04 20:55:10 +03:00
2021-01-04 20:55:10 +03:00
2021-01-04 20:55:10 +03:00