src/vendor/azure-uamqp-c/deps/umock-c/inc/umock_c/aux_inc/stdbool.h
raw| 1 | // Copyright (c) Microsoft. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 | |
| 4 | #ifndef STDBOOL_H |
| 5 | #define STDBOOL_H |
| 6 | |
| 7 | #define __bool_true_false_are_defined 1 |
| 8 | |
| 9 | #define HAS_STDBOOL |
| 10 | |
| 11 | #ifndef __cplusplus |
| 12 | |
| 13 | typedef unsigned char bool; |
| 14 | #ifdef _MSC_VER |
| 15 | typedef bool _Bool; |
| 16 | #endif |
| 17 | |
| 18 | #define false 0 |
| 19 | #define true 1 |
| 20 | |
| 21 | #endif /* __cplusplus */ |
| 22 | |
| 23 | #endif /* STDBOOL_H */ |