blob: 86a127f0fd620d3d8ecf34657c20c068c77c7666 [file] [log] [blame]
Eric Fiselier6918a092016-02-20 00:16:41 +00001// -*- C++ -*-
2//===--------------------------- stdbool.h --------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10#ifndef _LIBCPP_STDBOOL_H
11#define _LIBCPP_STDBOOL_H
12
13
14/*
15 stdbool.h synopsis
16
17Macros:
18
19 __bool_true_false_are_defined
20
21*/
22
23#include <__config>
24
25#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
26#pragma GCC system_header
27#endif
28
29#include_next <stdbool.h>
30
31#ifdef __cplusplus
32#undef bool
33#undef true
34#undef false
35#undef __bool_true_false_are_defined
36#define __bool_true_false_are_defined 1
37#endif
38
39#endif // _LIBCPP_STDBOOL_H