llvm.org GIT mirror llvm / 22a6a11
Default to using the Unicode version of Win32 APIs instead of the ANSI version. This helps to catch instances where a developer accidentally forgets to explicitly specify which version of the API to use and accidentally winds up failing to support non-ASCII characters properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273599 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 4 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
247247 -D_SCL_SECURE_NO_DEPRECATE
248248 -D_SCL_SECURE_NO_WARNINGS
249249 )
250
251 # Tell MSVC to use the Unicode version of the Win32 APIs instead of ANSI.
252 add_llvm_definitions(
253 -DUNICODE
254 -D_UNICODE
255 )
250256
251257 set(msvc_warning_flags
252258 # Disabled warnings.