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ğluandiamttaM authored and GitHub committed 2022-07-29 20:42:31 -04:00
1 parent 462884bebb
commit 9d5b5297cc
1 file changed
+1 -1
+1 -1
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