add prototype definitions of asprintf and vasprintf for CYGWIN build
- define _GNU_SOURCE in case of cygwin As compilation warning report by @Dravion
This commit is contained in:
parent
cefd44a86e
commit
5afc4e3cd8
@ -13,6 +13,7 @@ case $host_os in
|
||||
;;
|
||||
*cygwin*)
|
||||
HOST_OS=cygwin
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
;;
|
||||
*darwin*)
|
||||
HOST_OS=darwin
|
||||
|
Loading…
Reference in New Issue
Block a user