[FFmpeg-cvslog] configure: use same CPPFLAGS in kFreeBSD as Linux
Reinhard Tartler
git at videolan.org
Mon May 16 05:08:17 CEST 2011
ffmpeg | branch: master | Reinhard Tartler <siretart at tauware.de> | Sat May 14 16:10:30 2011 +0200| [c1f54478050279663217fe5ffa4bc90f60e7030d] | committer: Reinhard Tartler
configure: use same CPPFLAGS in kFreeBSD as Linux
046f081b46c8479820409cf8f530b988221bd15b 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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c1f54478050279663217fe5ffa4bc90f60e7030d
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index d527ed1..970ec56 100755
--- a/configure
+++ b/configure
@@ -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)
;;
More information about the ffmpeg-cvslog
mailing list