summaryrefslogtreecommitdiffstats
path: root/libcxx/include/stdbool.h
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-07-30 21:28:27 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-07-30 21:28:27 +0000
commite7b3e177c47cedee055d3df5d560714ac0110817 (patch)
treed7749b9ec0226d5262be3ada295b2e2de921679c /libcxx/include/stdbool.h
parent18f67e669f37b138f7cfe708e08c803101700ecf (diff)
downloadbcm5719-llvm-e7b3e177c47cedee055d3df5d560714ac0110817.tar.gz
bcm5719-llvm-e7b3e177c47cedee055d3df5d560714ac0110817.zip
Let C lib supply stdbool.h
llvm-svn: 109894
Diffstat (limited to 'libcxx/include/stdbool.h')
-rw-r--r--libcxx/include/stdbool.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/libcxx/include/stdbool.h b/libcxx/include/stdbool.h
deleted file mode 100644
index 8d8b2bb27e5..00000000000
--- a/libcxx/include/stdbool.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// -*- C++ -*-
-//===--------------------------- stdbool.h --------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef _LIBCPP_STDBOOL_H
-#define _LIBCPP_STDBOOL_H
-
-/*
- stdbool.h synopsis
-
-Macros:
-
- __bool_true_false_are_defined
-
-*/
-
-#ifdef __cplusplus
-#include <__config>
-#endif
-
-#pragma GCC system_header
-
-#undef __bool_true_false_are_defined
-#define __bool_true_false_are_defined 1
-
-#ifndef __cplusplus
-
-#define bool _Bool
-#if __STDC_VERSION__ < 199901L && __GNUC__ < 3
-typedef int _Bool;
-#endif
-
-#define false (bool)0
-#define true (bool)1
-
-#endif /* !__cplusplus */
-
-#endif // _LIBCPP_STDBOOL_H
OpenPOWER on IntegriCloud