From 7a7b3d95e3fb62d90c6508c776858014c5edd750 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Mon, 17 Nov 2008 10:16:28 +0000 Subject: Allow compilation with icc 10.1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3