Ozkan Sezer wrote: > Should I commit this then: > > Index: _mingw.h > =================================================================== > --- _mingw.h (revision 1397) > +++ _mingw.h (working copy) > @@ -441,20 +441,10 @@ > #define _TRUNCATE ((size_t)-1) > #endif > > -#ifndef __USE_MINGW_ANSI_STDIO > -/* If user didn't specify it explicitly... */ > -# if defined(__STRICT_ANSI__) || defined(_ISOC99_SOURCE) \ > - || defined(_POSIX) \ > - || defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ > - || defined(_XOPEN_SOURCE) || defined(_XOPEN_SOURCE_EXTENDED)\ > - || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) \ > - || defined(_SVID_SOURCE) > - /* > - * but where any of these source code qualifiers are specified, > - * then assume ANSI I/O standards are preferred over Microsoft's... > - */ > +#if defined(_POSIX) && !defined(__USE_MINGW_ANSI_STDIO) > +/* Enable __USE_MINGW_ANSI_STDIO if _POSIX defined > + * and If user did _not_ specify it explicitly... */ > # define __USE_MINGW_ANSI_STDIO 1 > -# endif > #endif
Yes, I can live with that. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public