forked from FFmpeg/FFmpeg
configure: use same CPPFLAGS in kFreeBSD as Linux
046f081b46
reorganized the CPPFLAGS to no
longer add -D_POSIX_C_SOURCE unconditionally, but only on systems (e.g.,
glibc based ones) that require it. As kFreeBSD uses glibc, it needs to
be treated similar.
Additionally, _BSD_SOURCE is turned on to enable some additional types
such as caddr_t, which are normally enabled on BSD but not with glibc.
This commit is contained in:
parent
888fa31eca
commit
c1f5447805
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
@ -2487,6 +2487,7 @@ case $target_os in
|
|||
enable dos_paths
|
||||
;;
|
||||
gnu/kfreebsd)
|
||||
add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
|
||||
;;
|
||||
gnu)
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue