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 fb40ef7175e58629f023b22494ea44bc4392c1fe..d7747f8dc3f7a4cb2559855a2ade51a65d76ac2f 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