Changeset 4c53333 in mainline for uspace/lib/c/include/stdbool.h
- Timestamp:
- 2013-07-11T08:21:10Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
uspace/lib/c/include/stdbool.h (moved) (moved from uspace/lib/posix/stdbool.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/stdbool.h
r80445cf r4c53333 1 1 /* 2 * Copyright (c) 20 11 Jiri Zarevucky2 * Copyright (c) 2006 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib posix29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 /** @file Boolean type and values.32 /** @file 33 33 */ 34 34 35 #ifndef POSIX_STDBOOL_H_ 36 #define POSIX_STDBOOL_H_ 37 38 #ifdef LIBC_BOOL_H_ 39 #error "You can't include bool.h and stdbool.h at the same time." 40 #endif 35 #ifndef LIBC_BOOL_H_ 41 36 #define LIBC_BOOL_H_ 42 37 43 #define bool _Bool 44 #define true 1 45 #define false 0 38 #include <libarch/types.h> 39 #include <abi/bool.h> 40 41 #define false 0 42 #define true 1 43 46 44 #define __bool_true_false_are_defined 1 47 45 48 #endif /* POSIX_STDBOOL_H_ */ 46 #endif 47 48 /** @} 49 */
Note:
See TracChangeset
for help on using the changeset viewer.
