mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
compat.h: Update ssize_t under MSVC.
git-svn-id: https://svn.eduke32.com/eduke32@6375 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d5f8c7a028
commit
5c77a6a13c
1 changed files with 5 additions and 0 deletions
|
@ -408,7 +408,12 @@ defined __x86_64__ || defined __amd64__ || defined _M_X64 || defined _M_IA64 ||
|
||||||
////////// DEPRECATED: Standard library prefixing //////////
|
////////// DEPRECATED: Standard library prefixing //////////
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
# if defined _M_AMD64 || defined _M_ARM64 || defined _M_X64 || defined _WIN64
|
||||||
|
// should be int64_t, if not for a suspected VS compiler bug
|
||||||
typedef int32_t ssize_t;
|
typedef int32_t ssize_t;
|
||||||
|
# else
|
||||||
|
typedef int32_t ssize_t;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef size_t bsize_t;
|
typedef size_t bsize_t;
|
||||||
|
|
Loading…
Reference in a new issue