[vlc-devel] [PATCH] libvlc: ssize_t is not standard C, provide definition for windows compiler.

Rémi Denis-Courmont remi at remlab.net
Mon Oct 9 11:04:17 CEST 2017


Le 9 octobre 2017 11:28:30 GMT+03:00, pierre <pierre at videolabs.io> a écrit :
>> If POSIX ssize_t bothers you, use ISO C intptr_t or ptrdiff_t as
>> appropriate.
>
>intptr_t or ptrdiff_t kind of change the semantics. perhaps we could
>have 
>something like:
>
>#if defined(_MSC_VER)
>typedef ptrdiff_t libvlc_ssize_t;
>#else
>typedef ssize_t libvlc_ssize_t;
>#endif
>
>-- 
>Pierre Lamot
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

Hell no.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list