Go to the documentation of this file.
29 # define CLAM_BIG_ENDIAN
32 #ifdef __LITTLE_ENDIAN__
33 # define CLAM_LITTLE_ENDIAN
40 # include <sys/param.h>
41 # if __BYTE_ORDER == __LITTLE_ENDIAN
42 # define CLAM_LITTLE_ENDIAN
44 # if __BYTE_ORDER == __BIG_ENDIAN
45 # define CLAM_BIG_ENDIAN
53 # define CLAM_LITTLE_ENDIAN
59 #ifdef CLAM_LITTLE_ENDIAN
60 # ifdef CLAM_BIG_ENDIAN
61 # error confused about endianity
65 #ifndef CLAM_LITTLE_ENDIAN
66 # ifndef CLAM_BIG_ENDIAN
67 # error could not determine endianity