commit | f27313afa2a14598316e2b0d5d1c184449561a79 | [log] [tgz] |
---|---|---|
author | Dimitry Andric <dimitry@andric.com> | Wed Aug 15 17:30:32 2018 +0000 |
committer | Dimitry Andric <dimitry@andric.com> | Wed Aug 15 17:30:32 2018 +0000 |
tree | ddc94c713c87f5c65ce00272f6e95a2361a88345 | |
parent | a1b4766c47d56ccc6649afd7c13291baf4248fce [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@339794 91177308-0d34-0410-b5e6-96231b3b80d8