[Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support
Michael Niedermayer
michaelni
Thu Apr 5 20:22:44 CEST 2007
Hi
On Thu, Apr 05, 2007 at 06:56:48PM +0100, Patrice Bensoussan wrote:
> Hello,
>
> The recent patch to support OPT_INT64 option broke the compilation on
> Mac OS X 10.2. The reason for this is that atoll() is not available
> on Mac OS X 10.2 (it's only available on 10.3 and later versions).
>
> From the man page:
>
> The atoll() function converts the initial portion of the string
> pointed
> to by nptr to long long integer representation.
>
> It is equivalent to:
>
> strtoll(nptr, (char **)NULL, 10);
>
> Simple patch attached to fix the issue.
probably ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070405/41e56959/attachment.pgp>
More information about the ffmpeg-devel
mailing list