ssize_t redefinition on Windows - int/int64 vs long/long long (#1337)

* ssize_t redefinition on Windows - int/int64 vs long/long long

* Define ssize_t as __int64 for _WIN64, not long long

Co-authored-by: iamttaM <9880090+oculusbytes@users.noreply.github.com>
This commit is contained in:
Mehmet İbrahimoğlu 2022-07-30 01:42:31 +01:00 committed by GitHub
parent 462884bebb
commit 9d5b5297cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@
#ifdef _WIN64
using ssize_t = __int64;
#else
using ssize_t = int;
using ssize_t = long;
#endif
#endif // _MSC_VER