[hatari-devel] New FileSelector

Jerome Vernet vernet.jerome at wanadoo.fr
Fri Sep 10 19:45:51 CEST 2010


Le 10/09/10 00:26, Laurent Sallafranque a écrit :
>
> Hello,
>
> I was too upset with hatari fileSelector.
> So, I've reworked it a little.
> I
> Question :
>
> - Do you like it ?
>
Hee... It broke the MacOsX build: no strnlen() in MacOsX !!! So I need 
to add it.

size_t strnlen(const char *s, size_t n)
{
   const char *p = (const char *)memchr(s, 0, n);
   return(p ? p-s : n);
}

Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20100910/73499cd7/attachment.html>


More information about the hatari-devel mailing list