From 8eb0d0b7c361f3241bcc6c836d43e87bbd1d5fe8 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 22 Aug 2019 11:27:50 -0700 Subject: [PATCH] put windows poll in the global namespace, not ix namespace --- ixwebsocket/IXNetSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ixwebsocket/IXNetSystem.cpp b/ixwebsocket/IXNetSystem.cpp index 768365db..e9e43f88 100644 --- a/ixwebsocket/IXNetSystem.cpp +++ b/ixwebsocket/IXNetSystem.cpp @@ -34,7 +34,9 @@ namespace ix return true; #endif } +} +// This function should be in the global namespace #ifdef _WIN32 // // That function could 'return WSAPoll(pfd, nfds, timeout);' @@ -107,4 +109,3 @@ namespace ix return ret; } #endif -}