Closed ghost closed 6 years ago
@cxong Tested it and I can confirm that inserting #define _DEFAULT_SOURCE
fixes it. If I remember correctly you develop CDogs SDL under OS X and this is a glibc shenanigan.
Pull request: https://github.com/cxong/cdogs-sdl/pull/552
Thanks.
After a make clean and another try, it outputs
GCC version is 7.2.0 on an OS based on Ubuntu 17.10.
It is probably related to this SO answer, a glibc feature (?) that apparently requires you to
#define _DEFAULT_SOURCE
as well.