mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-28 09:04:38 +00:00
The currently used way to determine the endianness (i.e. include
<endian.h> and use the __BYTE_ORDER macro) is provided in general by
GNU libc. Thus, extend that to any platform/OS based on GNU libc.
(cherry picked from commit 561c99ee11)