blob: b58334cd0d4a8b7765197461ad4a4932322c04fa [file] [log] [blame]
Varun Wadekar55157392017-04-19 11:57:08 -07001/*
Alexei Fedorova084a882020-07-14 12:26:19 +01002 * Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Varun Wadekar55157392017-04-19 11:57:08 -07003 *
Jeenu Viswambharan9fc7ed72018-08-01 14:56:52 +01004 * SPDX-License-Identifier: BSD-3-Clause
Varun Wadekar55157392017-04-19 11:57:08 -07005 */
6
Jeenu Viswambharan9fc7ed72018-08-01 14:56:52 +01007#ifndef STDBOOL_H
8#define STDBOOL_H
Varun Wadekar55157392017-04-19 11:57:08 -07009
Jeenu Viswambharan9fc7ed72018-08-01 14:56:52 +010010#define bool _Bool
Varun Wadekar55157392017-04-19 11:57:08 -070011
Alexei Fedorova084a882020-07-14 12:26:19 +010012#define true (0 < 1)
13#define false (0 > 1)
Varun Wadekar55157392017-04-19 11:57:08 -070014
Jeenu Viswambharan9fc7ed72018-08-01 14:56:52 +010015#define __bool_true_false_are_defined 1
Varun Wadekar55157392017-04-19 11:57:08 -070016
Jeenu Viswambharan9fc7ed72018-08-01 14:56:52 +010017#endif /* STDBOOL_H */