From a42ccea8dd9a9779b5079d45eaea948ddb88e77f Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Fri, 1 May 2020 09:22:03 -0700 Subject: [PATCH] disable unicode --- ixwebsocket/IXDNSLookup.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ixwebsocket/IXDNSLookup.cpp b/ixwebsocket/IXDNSLookup.cpp index 9114c10a..e3036f10 100644 --- a/ixwebsocket/IXDNSLookup.cpp +++ b/ixwebsocket/IXDNSLookup.cpp @@ -4,6 +4,15 @@ * Copyright (c) 2018 Machine Zone, Inc. All rights reserved. */ +// Try to disable unicode on Windows uwp +#ifdef _UNICODE +#undef _UNICODE +#endif + +#ifdef UNICODE +#undef UNICODE +#endif + #include "IXDNSLookup.h" #include "IXNetSystem.h"