ref: f88d9e728d9db5f396ac1ef2ae09af8212c37f43
parent: 71fa62c9d1da8cebd7dae821072d0ff2cdd78edd
author: James Larrowe <larrowe.semaj11@gmail.com>
date: Tue May 19 15:21:16 EDT 2020
Fix DJGPP build 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.