From: <dan...@us...> - 2009-10-29 19:51:27
|
Revision: 1399 http://cegcc.svn.sourceforge.net/cegcc/?rev=1399&view=rev Author: dannybackx Date: 2009-10-29 19:51:15 +0000 (Thu, 29 Oct 2009) Log Message: ----------- Apply fix by Pierre Ynard. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-10-25 18:39:01 UTC (rev 1398) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-10-29 19:51:15 UTC (rev 1399) @@ -1,3 +1,9 @@ +2009-10-29 Pierre Ynard <lin...@ya...> + + * include/stdlib.h: Apply the atoll change again, this disappeared + with the latest merge : "Move atoll definition out of __STRICT_ANSI__, + see bug #2821869." + 2009-09-08 Danny Backx <dan...@us...> * configure.in, Makefile.in: Don't build profile directory. Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2009-10-25 18:39:01 UTC (rev 1398) +++ trunk/cegcc/src/mingw/include/stdlib.h 2009-10-29 19:51:15 UTC (rev 1399) @@ -574,10 +574,12 @@ wchar_t* __cdecl __MINGW_NOTHROW lltow (long long, wchar_t *, int); wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long, wchar_t *, int); +/* C99 addition, this used to be blocked by __STRICT_ANSI__ (see below). */ +__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) + { return _atoi64 (_c); } + /* inline using non-ansi functions */ #ifndef __NO_INLINE__ -__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) - { return _atoi64 (_c); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, char * _c, int _i) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |