From 5d53128d923dd34850f34c05b08cf1eba3640666 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 10 Jul 2008 05:15:36 +0000 Subject: [PATCH] Add '-D_UNICODE' to windows compile args. On windows, this will cause the file IO use wide character API, to properly support non-ansi characters. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 1ec0bb0da..db9cf8be8 100644 --- a/setup.py +++ b/setup.py @@ -106,6 +106,7 @@ if windows_check(): "-DTORRENT_LINKING_SHARED", "-DWIN32", "-DUNICODE", + "-D_UNICODE", "/GR", "/Zc:wchar_t", ]