Go to the documentation of this file.
34 #ifndef _SIZED_TYPES_H_
35 #define _SIZED_TYPES_H_
44 typedef unsigned char uint8;
45 typedef signed char int8;
48 #error This machine has no 8-bit type; report compiler, and the contents of your limits.h to the persons in the AUTHORS file
52 #if UINT_MAX == 0xffff
54 typedef unsigned int uint16;
57 #elif USHRT_MAX == 0xffff
59 typedef unsigned short uint16;
63 #error This machine has no 16-bit type; report compiler, and the contents of your limits.h to the persons in the AUTHORS file
67 #if UINT_MAX == 0xfffffffful
69 typedef unsigned int uint32;
72 #elif ULONG_MAX == 0xfffffffful
74 typedef unsigned long uint32;
77 #elif USHRT_MAX == 0xfffffffful
79 typedef unsigned short uint32;
83 #error This machine has no 32-bit type; report compiler, and the contents of your limits.h to the persons in the AUTHORS file