Skip to content

Commit 2fcd4b4

Browse files
sylveonsean-mcmanus
authored andcommitted
Add _UNICODE to default defines on Windows (#1540)
* Add _UNICODE to default defines on Windows Fixes #1538
1 parent f5b2d30 commit 2fcd4b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Extension/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Fix error popup appearing with non-workspace files when using `compile_commands.json`. [#1475](https://github.com/Microsoft/vscode-cpptools/issues/1475)
1010
* Add more macros to `cpp.hint` (fixing missing symbols).
1111
* Added support for config variables to `c_cpp_properties.json` [#314](https://github.com/Microsoft/vscode-cpptools/issues/314)
12+
* Define `_UNICODE` by default on Windows platforms. [#1538](https://github.com/Microsoft/vscode-cpptools/issues/1538)
1213

1314
## Version 0.14.6: January 17, 2018
1415
* Fix tag parser failing (and continuing to fail after edits) when it shouldn't. [#1367](https://github.com/Microsoft/vscode-cpptools/issues/1367)

Extension/src/LanguageServer/configurations.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ let defaultSettings: string = `{
6363
],
6464
"defines": [
6565
"_DEBUG",
66-
"UNICODE"
66+
"UNICODE",
67+
"_UNICODE"
6768
],
6869
"intelliSenseMode": "msvc-x64",
6970
"browse": {

0 commit comments

Comments
 (0)