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

pierre pierre at videolabs.io
Mon Oct 9 10:28:30 CEST 2017

> 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;
typedef ssize_t libvlc_ssize_t;

Pierre Lamot

More information about the vlc-devel mailing list