summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-17 10:16:28 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-17 10:16:28 +0000
commit7a7b3d95e3fb62d90c6508c776858014c5edd750 (patch)
treed7d900f595e6d56924130ae3f3063957d8759d6a /configure
parentbeac5410ae6692954e2b2800fa79d535cd299097 (diff)
downloadmpv-7a7b3d95e3fb62d90c6508c776858014c5edd750.tar.bz2
mpv-7a7b3d95e3fb62d90c6508c776858014c5edd750.tar.xz
Allow compilation with icc 10.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index cd9e577f9a..c9ab4b458c 100755
--- a/configure
+++ b/configure
@@ -7816,6 +7816,8 @@ if test "$cc_vendor" = "gnu" ; then
cc_check -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
+else
+ CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
fi
cc_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer"