[FFmpeg-devel] [RFC][PATCH] move _ISOC9X_SOURCE
Michael Niedermayer
michaelni
Wed Aug 13 20:20:55 CEST 2008
On Wed, Aug 13, 2008 at 06:04:10PM +0100, M?ns Rullg?rd wrote:
>
> Michael Niedermayer wrote:
> > Hi
> >
> > Currently -D_ISOC9X_SOURCE is in common.mak which makes it unavailable
> > to tests in configure patch below moves it into configure.
> > If this is approved then ill also post one that adds the -Dposix there.
> >
> > Index: common.mak
> > ===================================================================
> > --- common.mak (revision 14508)
> > +++ common.mak (working copy)
> > @@ -18,7 +18,7 @@
> > ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
> >
> > CFLAGS := -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
> > - -D_ISOC9X_SOURCE -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
> > + -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
> >
> > %.o: %.c
> > $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
>
> OK
>
> > Index: configure
> > ===================================================================
> > --- configure (revision 14508)
> > +++ configure (working copy)
> > @@ -963,6 +963,7 @@
> > vhook="default"
> >
> > # build settings
> > +CFLAGS='-D_ISOC9X_SOURCE'
>
> Unless I am mistaken, this will override with CFLAGS from the
> environment.
ok, ive applied it with add_cflags
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080813/06aca72c/attachment.pgp>
More information about the ffmpeg-devel
mailing list