summaryrefslogtreecommitdiff
path: root/include/vector
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-02-20 00:16:41 +0000
committerEric Fiselier <eric@efcs.ca>2016-02-20 00:16:41 +0000
commit6918a0973b0126fa7253eecbf655e7d01a85f0f9 (patch)
tree8d469ee8a7cfe28abdd2953ec4f9c30538c0c4bb /include/vector
parent48fcc78492e915370fb39b5800d8d9a2e35f6909 (diff)
Add stdbool.h wrapper for libc++
Summary: According to the C++ standard <stdbool.h> isn't allowed to define `true` `false` or `bool`. However these macros are sometimes defined by the compilers `stdbool.h`. Clang defines the macros whenever `__STRICT_ANSI__` isn't defined (ie `-std=gnu++11`). New GCC versions define the macros in C++03 mode only, older GCC versions (4.9 and before) always define the macros. This patch adds a wrapper header for `stdbool.h` that undefs the required macros. Reviewers: mclow.lists, rsmith, EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D16346 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@261381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/vector')
0 files changed, 0 insertions, 0 deletions