[FFmpeg-devel] [PATCH] atoll() replacement for WinCE

İsmail Dönmez ismail
Wed Jul 15 10:49:13 CEST 2009


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 [0] 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.

Regards.

-- 
?smail D?NMEZ



More information about the ffmpeg-devel mailing list