Skip to content

Commit fdffef9

Browse files
authored
Define ssize_t as std::intptr_t on Windows (#221)
1 parent bf9eae8 commit fdffef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/utils/MsgBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <assert.h>
2323
#include <string.h>
2424
#ifdef _WIN32
25-
using ssize_t = long long;
25+
using ssize_t = std::intptr_t;
2626
#endif
2727

2828
namespace trantor

0 commit comments

Comments
 (0)