SDL/src/core/unix
Pino Toscano 171885010d Add GNU/Hurd as platform
SDL has been building on GNU/Hurd for a long time, using either drivers
based on external libraries (e.g. X11, pulseaudio, sndio, etc) or dummy
drivers. This commit introduces it explicitly as platform, so it can be
recognized, and tweaked as needed. In particular:
- introduce the SDL_PLATFORM_HURD define
- tighten/improve the platform detection in cmake, and use "Hurd" as
  identifier
- return the platform name in SDL_GetPlatform()
- tweak the CFLAGS/LDFLAGS so pthreads can be used properly
- implement SDL_GetExeName(), using /proc/self/exe as provided by the
  basic Linux-like procfs
- enable GLES 2 in tests (mostly for consistency with Linux)
2025-08-08 12:47:09 -07:00
..
SDL_appid.c Add GNU/Hurd as platform 2025-08-08 12:47:09 -07:00
SDL_appid.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_gtk.c x11: Refactor dpi hooks, removing GTK dependency and fixing XSettings watcher 2025-08-06 09:22:15 -07:00
SDL_gtk.h x11: Refactor dpi hooks, removing GTK dependency and fixing XSettings watcher 2025-08-06 09:22:15 -07:00
SDL_poll.c Don't return short waits from SDL_IOReady() 2025-02-10 10:29:30 -08:00
SDL_poll.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00