summaryrefslogtreecommitdiff
path: root/data/iphoneos-sdk/v1/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'data/iphoneos-sdk/v1/stdbool.h')
-rwxr-xr-xdata/iphoneos-sdk/v1/stdbool.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/data/iphoneos-sdk/v1/stdbool.h b/data/iphoneos-sdk/v1/stdbool.h
new file mode 100755
index 000000000..86a127f0f
--- /dev/null
+++ b/data/iphoneos-sdk/v1/stdbool.h
@@ -0,0 +1,39 @@
+// -*- C++ -*-
+//===--------------------------- stdbool.h --------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+#ifndef _LIBCPP_STDBOOL_H
+#define _LIBCPP_STDBOOL_H
+
+
+/*
+ stdbool.h synopsis
+
+Macros:
+
+ __bool_true_false_are_defined
+
+*/
+
+#include <__config>
+
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+#pragma GCC system_header
+#endif
+
+#include_next <stdbool.h>
+
+#ifdef __cplusplus
+#undef bool
+#undef true
+#undef false
+#undef __bool_true_false_are_defined
+#define __bool_true_false_are_defined 1
+#endif
+
+#endif // _LIBCPP_STDBOOL_H