From: Måns Rullgård Date: Thu, 13 Jul 2006 23:10:01 +0000 (+0000) Subject: replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use X-Git-Tag: v0.5~12397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b65d88fd7a19a75215de74d7c6e2f664e40df26;p=platform%2Fupstream%2Flibav.git replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use of gnu extensions Originally committed as revision 5733 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/Makefile b/Makefile index 151f50e0e..42e4d41ea 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ VPATH=$(SRC_PATH) CFLAGS=$(OPTFLAGS) -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \ -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE + -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE LDFLAGS+= -g MANPAGES=doc/ffmpeg.1 diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 17c168027..33cdc07bc 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -6,7 +6,7 @@ include ../config.mak # NOTE: -I.. is needed to include config.h CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavutil \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $(AMR_CFLAGS) + -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE $(AMR_CFLAGS) OBJS= bitstream.o utils.o mem.o allcodecs.o \ mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ diff --git a/libavformat/Makefile b/libavformat/Makefile index e512e24a4..00141e818 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -6,7 +6,7 @@ include ../config.mak CFLAGS=$(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \ -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 \ - -D_LARGEFILE_SOURCE -D_GNU_SOURCE + -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE OBJS= utils.o cutils.o os_support.o allformats.o CPPOBJS= diff --git a/libavutil/Makefile b/libavutil/Makefile index 9870cfb0a..18acf2c04 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -5,7 +5,7 @@ include ../config.mak # NOTE: -I.. is needed to include config.h CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. \ - -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE + -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE OBJS= mathematics.o \ rational.o \