mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-03 00:07:48 +00:00
GCC with the -std=c11 defines __STRICT_ANSI__. DJGPP checks if __STRICT_ANSI__ is defined and if so doesn't define some things mandated by POSIX such as struct stat, PATH_MAX, and others. The -std=gnu11 option does not define this macro, so use it instead. _DEFAULT_SOURCE isn't needed as no GNU nor BSD-specific functions are used. Remove it. Fix the last two occurrences of incorrect format specifiers for standard fixed-width integer types.
8.0 KiB
8.0 KiB