![](/Images/img4.jpg)
Go to the documentation of this file.
9 #ifndef SQUID_COMPAT_TYPES_H
10 #define SQUID_COMPAT_TYPES_H
23 #include <sys/types.h>
25 #if HAVE_LINUX_TYPES_H
26 #include <linux/types.h>
37 #if HAVE_SYS_BITYPES_H
38 #include <sys/bitypes.h>
41 #include <sys/select.h>
43 #if HAVE_NETINET_IN_SYSTM_H
45 #include <netinet/in_systm.h>
62 #if !defined(UINT32_MIN)
63 #define UINT32_MIN 0x00000000L
65 #if !defined(UINT32_MAX)
66 #define UINT32_MAX 0xFFFFFFFFL
70 #define INT_MAX 0x7FFFFFFFL // hack but a safe bet (32-bit signed integer)
73 #if !defined(INT64_MIN)
75 #if defined(LONG_MIN) && (SIZEOF_LONG == 8)
76 #define INT64_MIN LONG_MIN
79 #define INT64_MIN (-9223372036854775807LL-1LL)
83 #if !defined(INT64_MAX)
85 #if defined(LONG_MAX) && (SIZEOF_LONG == 8)
86 #define INT64_MAX LONG_MAX
89 #define INT64_MAX 9223372036854775807LL
100 #define PRId64 "I64d"
101 #elif SIZEOF_INT64_T > SIZEOF_LONG
110 #define PRIu64 "I64u"
111 #elif SIZEOF_INT64_T > SIZEOF_LONG
120 #define PRIX64 "I64X"
121 #elif SIZEOF_INT64_T > SIZEOF_LONG
136 #ifndef HAVE_SOCKLEN_T
Introduction
Documentation
Support
Miscellaneous