Skip to content

Commit

Permalink
ssize_t redefinition on Windows - int/int64 vs long/long long (#1337)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
oculusdrifts and oculusdrifts authored Jul 30, 2022
1 parent 462884b commit 9d5b529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
#ifdef _WIN64
using ssize_t = __int64;
#else
using ssize_t = int;
using ssize_t = long;
#endif
#endif // _MSC_VER

Expand Down

0 comments on commit 9d5b529

Please sign in to comment.