Cthulhu  0.2.10
Cthulhu compiler collection
endian.inc
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-only
2 
3 #ifndef ENDIAN
4 # define ENDIAN(id, name, v)
5 #endif
6 
7 ENDIAN(eEndianNative, "native", CT_BYTE_ORDER)
8 ENDIAN(eEndianLittle, "little", CT_LITTLE_ENDIAN)
9 ENDIAN(eEndianBig, "big", CT_BIG_ENDIAN)
10 
11 #undef ENDIAN
#define ENDIAN(id, name, v)
Definition: endian.inc:4
#define CT_BIG_ENDIAN
the big endian byte order
#define CT_BYTE_ORDER
the native byte order
#define CT_LITTLE_ENDIAN
the little endian byte order