Closed amues closed 2 weeks ago
Hi @amues,
The ssize_t
a type defined by POSIX so if someone use pure C it is not defined. We have a workaround for windows
#ifdef _MSC_VER
#if defined _M_IX86
using ssize_t = int;
#elif defined _M_X64
#include <BaseTsd.h>
using ssize_t = SSIZE_T;
#endif
#endif
We could do a simialar tricks for non-POSIX compilers.
Identified by @mortenjc: