Add -D_POSIX_C_SOURCE=200112 to cflags.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Aug 2008 11:40:14 +0000 (11:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Aug 2008 11:40:14 +0000 (11:40 +0000)
Originally committed as revision 14754 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index fb40ef7..d7747f8 100755 (executable)
--- a/configure
+++ b/configure
@@ -974,7 +974,7 @@ enable stripping
 vhook="default"
 
 # build settings
-add_cflags -D_ISOC99_SOURCE
+add_cflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 SHFLAGS='-shared -Wl,-soname,$$(@F)'
 VHOOKSHFLAGS='$(SHFLAGS)'
 FFSERVERLDFLAGS=-Wl,-E