refine previous commit
This commit is contained in:
parent
a42ccea8dd
commit
303f99a432
@ -4,15 +4,16 @@
|
|||||||
* Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
|
* Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Try to disable unicode on Windows uwp
|
//
|
||||||
|
// On Windows Universal Platform (uwp), gai_strerror defaults behavior is to returns wchar_t
|
||||||
|
// which is different from all other platforms. We want the non unicode version.
|
||||||
|
// See https://github.com/microsoft/vcpkg/pull/11030
|
||||||
|
// We could do this in IXNetSystem.cpp but so far we are only using gai_strerror in here.
|
||||||
|
//
|
||||||
#ifdef _UNICODE
|
#ifdef _UNICODE
|
||||||
#undef _UNICODE
|
#undef _UNICODE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef UNICODE
|
|
||||||
#undef UNICODE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "IXDNSLookup.h"
|
#include "IXDNSLookup.h"
|
||||||
|
|
||||||
#include "IXNetSystem.h"
|
#include "IXNetSystem.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user