We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1a231 commit 7e46465Copy full SHA for 7e46465
trantor/net/EventLoop.cc
@@ -28,7 +28,9 @@
28
#include <windows.h>
29
#include <io.h>
30
#include <synchapi.h>
31
+#ifndef _SSIZE_T_DEFINED
32
using ssize_t = long long;
33
+#endif
34
#else
35
#include <poll.h>
36
#endif
trantor/utils/MsgBuffer.h
@@ -22,7 +22,7 @@
22
#include <assert.h>
23
#include <string.h>
24
#include <cstdint>
25
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_SSIZE_T_DEFINED)
26
using ssize_t = std::intptr_t;
27
0 commit comments