set various glibc flags that also are useful with mingw
for example, asprintf/vasprintf are unmasked with _GNU_SOURCE in mingw
This commit is contained in:
parent
eb26e56ba8
commit
8b695e534b
@ -27,6 +27,7 @@ case $host_os in
|
||||
;;
|
||||
*mingw*)
|
||||
HOST_OS=win32
|
||||
CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user