SDL/src/time
Frank Praznik a5b51669fb
time: Fix compilation on Solaris
The tm_gmtoff field of the broken-down time 'tm' struct wasn't formally standardized until POSIX.1-2024, but practically it has been available on desktop *nix platforms such as Linux/glibc, FreeBSD, OpenBSD, NetBSD, OSX/macOS (NextStep before that), and others since the 1990s. The notable exception is SunOS/Solaris, where the timezone offset must still be retrieved in the strictly POSIX.1-2008 compliant way.

(cherry picked from commit 7b93a744c8)
2025-03-19 12:27:39 -04:00
..
n3ds Updated copyright for 2025 2025-01-01 07:45:52 -08:00
ps2 Updated copyright for 2025 2025-01-01 07:45:52 -08:00
psp Updated copyright for 2025 2025-01-01 07:45:52 -08:00
unix time: Fix compilation on Solaris 2025-03-19 12:27:39 -04:00
vita Updated copyright for 2025 2025-01-01 07:45:52 -08:00
windows Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_time.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_time_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00