diff --git a/trantor/net/EventLoop.cc b/trantor/net/EventLoop.cc index b4523ad..8009db4 100644 --- a/trantor/net/EventLoop.cc +++ b/trantor/net/EventLoop.cc @@ -26,7 +26,7 @@ #include #ifdef _WIN32 #include -using ssize_t = std::intptr_t; +using ssize_t = long long; #else #include #endif diff --git a/trantor/utils/MsgBuffer.h b/trantor/utils/MsgBuffer.h index bdd5c23..33c8633 100644 --- a/trantor/utils/MsgBuffer.h +++ b/trantor/utils/MsgBuffer.h @@ -22,7 +22,7 @@ #include #include #ifdef _WIN32 -using ssize_t = std::intptr_t; +using ssize_t = long long; #endif namespace trantor