mirror of https://github.com/getdnsapi/getdns.git
Get rid of strlcpy warning on Mac
This commit is contained in:
parent
a4bb10396f
commit
d5dc654f5c
|
@ -3304,6 +3304,8 @@ case "$host_os" in
|
|||
;;
|
||||
solaris* ) CFLAGS="$CFLAGS -D__EXTENSIONS__" # for strdup() from <string.h>
|
||||
;;
|
||||
darwin* ) CFLAGS="$CFLAGS -D_DARWIN_C_SOURCE" # for strlcpy() from <string.h>
|
||||
;;
|
||||
esac
|
||||
|
||||
# always use ./libtool unless override from commandline (libtool=mylibtool)
|
||||
|
|
|
@ -49,6 +49,8 @@ case "$host_os" in
|
|||
;;
|
||||
solaris* ) CFLAGS="$CFLAGS -D__EXTENSIONS__" # for strdup() from <string.h>
|
||||
;;
|
||||
darwin* ) CFLAGS="$CFLAGS -D_DARWIN_C_SOURCE" # for strlcpy() from <string.h>
|
||||
;;
|
||||
esac
|
||||
|
||||
# always use ./libtool unless override from commandline (libtool=mylibtool)
|
||||
|
|
Loading…
Reference in New Issue