blob: c2c9b222953585b57f4dc00e57e96ca3e3b16f99 [file] [log] [blame]
Varun Wadekar55157392017-04-19 11:57:08 -07001/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002 * 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 */