FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
authorDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 22:18:40 +0000 (22:18 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 4 Oct 2006 22:18:40 +0000 (22:18 +0000)
Originally committed as revision 20057 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index f75b791..ae667cb 100644 (file)
@@ -10,7 +10,7 @@ endif
 # NOTE: -I.. is needed to include config.h
 CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
        -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-       -D_GNU_SOURCE
+       -D_ISOC9X_SOURCE
 
 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
 ifeq ($(TARGET_ALTIVEC),yes)