30 #include "../my_config.h" 51 typedef unsigned char U_8;
52 typedef uint16_t U_16;
53 typedef uint32_t U_32;
54 typedef uint64_t U_64;
58 typedef signed char S_8;
62 typedef signed int S_I;
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 typedef unsigned char U_8;
76 typedef unsigned short U_16;
77 typedef unsigned long U_32;
78 typedef unsigned long long U_64;
80 typedef signed char S_8;
81 typedef signed short S_16;
82 typedef signed long S_32;
83 typedef signed long long S_64;
84 typedef signed int S_I;
88 #else // OS_BITS != 32 93 typedef unsigned char U_8;
94 typedef unsigned short U_16;
95 typedef unsigned int U_32;
96 typedef unsigned long long U_64;
98 typedef signed char S_8;
99 typedef signed short S_16;
100 typedef signed int S_32;
101 typedef signed long long S_64;
102 typedef signed int S_I;
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