[MinGW] Predefine UNICODE if -municode is specified during compilation
authorMartin Storsjo <martin@martin.st>
Mon, 6 Aug 2018 19:48:44 +0000 (19:48 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 6 Aug 2018 19:48:44 +0000 (19:48 +0000)
commit434ef8335e0e1ae1e4392d28f3eaca41f78537c2
treeeee90aa7bec8a08b902011042ef8af0c30267290
parentcb06300ad2a2c3b8d8b4ce7d2bc3bf9efed2e9bc
[MinGW] Predefine UNICODE if -municode is specified during compilation

Differential Revision: https://reviews.llvm.org/D50199

llvm-svn: 339048
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/mingw.cpp