summaryrefslogtreecommitdiffstats
path: root/openvpn.c
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2012-02-16 18:30:38 +0100
committerDavid Sommerseth <davids@redhat.com>2012-02-16 19:36:24 +0100
commit76a3c405549bf02902846a9bd0e7d0f3a25a5b4d (patch)
tree8376774eab563ba35cb8b6e577cd58c77f94670d /openvpn.c
parent6449a149f850e9e1207233f3ca642d9342fbfbaf (diff)
downloadopenvpn-76a3c405549bf02902846a9bd0e7d0f3a25a5b4d.tar.gz
openvpn-76a3c405549bf02902846a9bd0e7d0f3a25a5b4d.tar.xz
openvpn-76a3c405549bf02902846a9bd0e7d0f3a25a5b4d.zip
replace check for TARGET_WIN32 with WIN32
Use of TARGET_WIN32 breaks MSVC builds as it is only defined for mingw builds done with the autotools buildsystem. Signed-off-by: Heiko Hund <heiko.hund@sophos.com> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'openvpn.c')
-rw-r--r--openvpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn.c b/openvpn.c
index 84289d2..b2175a1 100644
--- a/openvpn.c
+++ b/openvpn.c
@@ -131,7 +131,7 @@ main (int argc, char *argv[])
return 1;
#endif
-#ifdef TARGET_WIN32
+#ifdef WIN32
SetConsoleOutputCP (CP_UTF8);
#endif