Use SSIZE_T from BaseTsd.h to compile MSVC 32-bit
This commit is contained in:
parent
01657913b2
commit
25784e3ccf
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@
|
||||||
* Windows seems to only have SSIZE_T in BaseTsd.h
|
* Windows seems to only have SSIZE_T in BaseTsd.h
|
||||||
*/
|
*/
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
typedef intmax_t ssize_t;
|
#include <BaseTsd.h>
|
||||||
|
typedef SSIZE_T ssize_t;
|
||||||
#else
|
#else
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue