|
Revision 3dededd20d70d571268417dc41edc95f0fe6602e, 463 bytes
(checked in by H. Peter Anvin <hpa@…>, 2 years ago)
|
|
memdump: allow outputting S-records
Allow outputting S-records, for users who only have the capability of
passively monitoring a serial port as opposed to being able to capture
the contents directly.
Signed-off-by: H. Peter Anvin <hpa@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * |
|---|
| 3 | * stdbool.h |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | #ifndef _STDBOOL_H |
|---|
| 7 | #define _STDBOOL_H |
|---|
| 8 | |
|---|
| 9 | #ifndef __cplusplus |
|---|
| 10 | |
|---|
| 11 | #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) |
|---|
| 12 | # if !defined(__GNUC__) ||(__GNUC__ < 3) |
|---|
| 13 | typedef char _Bool; /* For C compilers without _Bool */ |
|---|
| 14 | # endif |
|---|
| 15 | #endif |
|---|
| 16 | |
|---|
| 17 | #define bool _Bool |
|---|
| 18 | #define true 1 |
|---|
| 19 | #define false 0 |
|---|
| 20 | |
|---|
| 21 | #else |
|---|
| 22 | |
|---|
| 23 | /* C++ */ |
|---|
| 24 | #define bool bool |
|---|
| 25 | #define true true |
|---|
| 26 | #define false false |
|---|
| 27 | |
|---|
| 28 | #endif |
|---|
| 29 | |
|---|
| 30 | #define __bool_true_false_are_defined 1 |
|---|
| 31 | |
|---|
| 32 | #endif /* _STDBOOL_H */ |
|---|