Commit 85d3f30f authored by Deucе's avatar Deucе 👌🏾
Browse files

Even when MSVC has inttypes.h, it still doesn't have ssize_t

parent 434b5ced
...@@ -268,6 +268,10 @@ typedef intmax_t intptr_t; ...@@ -268,6 +268,10 @@ typedef intmax_t intptr_t;
#define SCNXMAX PRIX64 #define SCNXMAX PRIX64
#define SCNoMAX PRIo64 #define SCNoMAX PRIo64
#else
#if (!defined(_MSDOS)) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__))
typedef SSIZE_T ssize_t;
#endif
#endif #endif
/* Legacy 32-bit time_t */ /* Legacy 32-bit time_t */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment