[FFmpeg-devel] [PATCH] atoll() replacement for WinCE
Wed Jul 15 11:16:22 CEST 2009
?smail D?nmez <ismail at namtrac.org> writes:
> On Wed, Jul 15, 2009 at 11:48 AM, Martin Storsj?<martin at martin.st> wrote:
>> On Wed, 15 Jul 2009, Ismail D?nmez wrote:
>>> > 2009/7/15 M?ns Rullg?rd <mans at mansr.com>:
>>> > Ismail D?nmez <ismail at namtrac.org> writes:
>>> >> WinCE lacks an atoll() implementation. Attached patch adds a very
>>> >> basic, no error checking  implementation. Is it ok or should I try
>>> >> to add a full implementation?
>>> > Does it have strtoll()?
>>> Apperently not.
>> Umm, it seems to work just fine for me. It's not part of the actual WinCE
>> platform, but mingw32ce contains a wrapper in libmingwex.a (that's linked
>> in automatically).
> Anyhow the main problem is -std=c99 implies __STRICT_ANSI__ which in
> turn shadows atoll() and friends' definition.
And that's a bug. atoll() is standard C99.
mans at mansr.com
More information about the ffmpeg-devel