30 #include "../my_config.h" 51 using U_8 =
unsigned char;
52 using U_16 = uint16_t;
53 using U_32 = uint32_t;
54 using U_64 = uint64_t;
58 using S_8 =
signed char;
62 using S_I =
signed int;
66 #else // HAVE_INTTYPES_H 67 #error "Cannot determine interger types, use --enable-os-bits=... with the 'configure' script according to your system's CPU register size" 68 #endif // HAVE_INTTYPES_H 70 #else // OS_BITS is defined 75 using U_8 =
unsigned char;
76 using U_16 =
unsigned short;
77 using U_32 =
unsigned long;
78 using U_64 =
unsigned long long;
80 using S_8 =
signed char;
81 using S_16 =
signed short;
82 using S_32 =
signed long;
83 using S_64 =
signed long long;
84 using S_I =
signed int;
88 #else // OS_BITS != 32 93 using U_8 =
unsigned char;
94 using U_16 =
unsigned short;
95 using U_32 =
unsigned int;
96 using U_64 =
unsigned long long;
98 using S_8 =
signed char;
99 using S_16 =
signed short;
100 using S_32 =
signed int;
101 using S_64 =
signed long long;
102 using S_I =
signed int;
106 #else // OS_BITS != 32 and OS_BITS != 64 107 #error "unknown value given to --enable-os-bits=... check the 'configure' script arguments" 112 #endif // OS_BITS == 64 113 #endif // OS_BITS == 32 114 #endif // OS_BITS not defined 137 #endif // header file multiple inclusion protection bool integers_system_is_big_endian()
returns true if the system is big endian, false else
void integer_check()
checks sign and width of integer types
libdar namespace encapsulate all libdar symbols