diff options
author | Dimitry Andric <dimitry@andric.com> | 2018-08-15 17:30:32 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2018-08-15 17:30:32 +0000 |
commit | c7510aa2acc16e8fd417528d8b4e554c7fb543f4 (patch) | |
tree | 69fd722e9ba56b3454b05b1011b1fd0e1dc549a3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 49a8280f43f06dee8d2ef5f74c72fe628c186810 (diff) | |
download | llvm-c7510aa2acc16e8fd417528d8b4e554c7fb543f4.zip llvm-c7510aa2acc16e8fd417528d8b4e554c7fb543f4.tar.gz llvm-c7510aa2acc16e8fd417528d8b4e554c7fb543f4.tar.bz2 |
For FreeBSD, don't define _M in nasty_macros.hpp
Because FreeBSD uses _M in its <sys/types.h>, and it is hard to avoid
including that header, only define _M to NASTY_MACRO for other operating
systems. This fixes almost 2000 unexpected test failures.
Discussed with Eric Fiselier.
llvm-svn: 339794
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions