summaryrefslogtreecommitdiff
path: root/MSVC_NMake/detectenv-msvc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC_NMake/detectenv-msvc.mak')
-rw-r--r--MSVC_NMake/detectenv-msvc.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/MSVC_NMake/detectenv-msvc.mak b/MSVC_NMake/detectenv-msvc.mak
index e5dadaf..c421f01 100644
--- a/MSVC_NMake/detectenv-msvc.mak
+++ b/MSVC_NMake/detectenv-msvc.mak
@@ -121,6 +121,9 @@ CFLAGS_ADD = /MD /O2 /GL /MP
!if "$(VSVER)" != "9"
CFLAGS_ADD = $(CFLAGS_ADD) /d2Zi+
!endif
+!if $(VSVER) >= 14
+CFLAGS_ADD = $(CFLAGS_ADD) /utf-8
+!endif
!else
CFLAGS_ADD = /MDd /Od
!endif