diff --git a/vsprops/code_generation_debug.props b/vsprops/code_generation_debug.props
index b138f38e7b..abd617d71f 100644
--- a/vsprops/code_generation_debug.props
+++ b/vsprops/code_generation_debug.props
@@ -5,7 +5,7 @@
- _DEBUG;_SECURE_SCL=1;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)
+ _DEBUG;_SECURE_SCL=1;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_UNICODE;UNICODE;%(PreprocessorDefinitions)
MultiThreadedDebug
false
diff --git a/vsprops/code_generation_release.props b/vsprops/code_generation_release.props
index 74d8d67f5a..732092ad6e 100644
--- a/vsprops/code_generation_release.props
+++ b/vsprops/code_generation_release.props
@@ -9,7 +9,7 @@
false
MultiThreaded
- _SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)
+ _SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_UNICODE;UNICODE;%(PreprocessorDefinitions)
true
StreamingSIMDExtensions2