diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-05-31 21:20:18 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-05-31 21:20:18 +0000 |
commit | ac633a2a52ce37dd2463753c2be98a76bc65536b (patch) | |
tree | 8349e4d22cb025955b98ee650bbb042fd93468b7 /test/support | |
parent | bed65743b48bbbf355d88dd972103d87e24db153 (diff) |
Remove uses of _UI because Windows is evil and tchar.h #define's it
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@304348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/nasty_macros.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/support/nasty_macros.hpp b/test/support/nasty_macros.hpp index f6c8aaddb..dc4f18ee8 100644 --- a/test/support/nasty_macros.hpp +++ b/test/support/nasty_macros.hpp @@ -37,6 +37,8 @@ #define _Y NASTY_MACRO #define _Z NASTY_MACRO +#define _UI NASTY_MACRO // tchar.h defines this on Windows. + // Test that libc++ doesn't use names reserved by WIN32 API Macros. // NOTE: Obviously we can only define these on non-windows platforms. #ifndef _WIN32 |