summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-13 18:17:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-13 18:17:26 +0000
commitad1d871021b15e1d4151725dd6cc15f4884061d2 (patch)
tree1b718a4a234e31d05c2904ea0e06ad4afb492a3b /configure
parentea452b54f0f767847ff3e7c1d59f439b2fd80cbb (diff)
Move -D_ISOC9X_SOURCE to configure so its available to all tests.
Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c099def04a..cbb31bdf5a 100755
--- a/configure
+++ b/configure
@@ -974,6 +974,7 @@ enable stripping
vhook="default"
# build settings
+add_cflags '-D_ISOC9X_SOURCE'
SHFLAGS='-shared -Wl,-soname,$$(@F)'
VHOOKSHFLAGS='$(SHFLAGS)'
FFSERVERLDFLAGS=-Wl,-E
@@ -1689,7 +1690,6 @@ check_lib math.h sin -lm
# test for C99 functions in math.h
for func in llrint lrint lrintf round roundf; do
check_exec <<EOF && enable $func || disable $func
-#define _ISOC9X_SOURCE 1
#include <math.h>
int main(void) { return ($func(3.999f) > 0)?0:1; }
EOF