use ptrdiff_t rather than ssize_t, as ssize_t is non-standard (it is POSIX, not C)

This commit is contained in:
Steven G. Johnson 2016-12-11 16:17:11 -05:00
parent 59334e4499
commit 78f336addd

View File

@ -114,7 +114,7 @@ typedef uint16_t utf8proc_uint16_t;
typedef int32_t utf8proc_int32_t;
typedef uint32_t utf8proc_uint32_t;
typedef size_t utf8proc_size_t;
typedef ssize_t utf8proc_ssize_t;
typedef ptrdiff_t utf8proc_ssize_t;
typedef bool utf8proc_bool;
#endif
#include <limits.h>