diff options
Diffstat (limited to 'tools/sysinc/endian.h')
| -rw-r--r-- | tools/sysinc/endian.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/sysinc/endian.h b/tools/sysinc/endian.h new file mode 100644 index 0000000..6115c0b --- /dev/null +++ b/tools/sysinc/endian.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef ENDIAN_H +#define ENDIAN_H + +#define __LITTLE_ENDIAN 1234 +#define __BIG_ENDIAN 4321 +#define __PDP_ENDIAN 3412 + +#define __BYTE_ORDER __LITTLE_ENDIAN + +#endif |
