Guard against more macros in tchar.h

llvm-svn: 304352
This commit is contained in:
Eric Fiselier 2017-05-31 21:39:54 +00:00
parent 4f429cecd9
commit f9645c3a92
1 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,13 @@
#define _Y NASTY_MACRO
#define _Z NASTY_MACRO
#define _UI NASTY_MACRO // tchar.h defines this on Windows.
// tchar.h defines these macros on Windows.
#define _UI NASTY_MACRO
#define _PUC NASTY_MACRO
#define _CPUC NASTY_MACRO
#define _PC NASTY_MACRO
#define _CRPC NASTY_MACRO
#define _CPC NASTY_MACRO
// Test that libc++ doesn't use names reserved by WIN32 API Macros.
// NOTE: Obviously we can only define these on non-windows platforms.