xash3d-fwgs/engine/platform/linux
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
..
in_evdev.c engine: platform: linux: move evdev_keydebug cvar to static allocation 2023-05-27 21:52:58 +03:00
s_alsa.c engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause 2022-08-31 06:50:06 +03:00
sys_linux.c engine: platform: linux: Add gettid definition for old systems 2024-01-06 13:43:35 +03:00
vid_fbdev.c engine: platform: linux: fix according to platform.h changes 2023-10-10 14:12:53 +03:00