mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
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:
parent
462884bebb
commit
9d5b5297cc
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
using ssize_t = __int64;
|
using ssize_t = __int64;
|
||||||
#else
|
#else
|
||||||
using ssize_t = int;
|
using ssize_t = long;
|
||||||
#endif
|
#endif
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue