refine previous commit
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user