]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert type regression slipped in from autoconf-refactor
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 9 Apr 2010 02:53:27 +0000 (14:53 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 9 Apr 2010 02:53:27 +0000 (14:53 +1200)
include/config.h

index 7bc6bc2a6eeb97dc85fe5eef3d0f7a1ab96c7065..5533a3a1155b57b06252c2f7260c8f205da32267 100644 (file)
 #endif
 #endif
 
-/* Typedefs for missing entries on a system */
-
-/* int8_t */
-#if !HAVE_INT8_T
-#if HAVE_CHAR && SIZEOF_CHAR == 1
-typedef char int8_t;
-#else
-#error NO 8 bit signed type available
-#endif
-#endif
-
-/* u_int8_t */
-#if !HAVE_U_INT8_T
-#if HAVE_UINT8_T
-typedef uint8_t u_int8_t;
-#else
-typedef unsigned char u_int8_t;
-#endif
-#endif
-
-/* int16_t */
-#if !HAVE_INT16_T
-#if HAVE_SHORT && SIZEOF_SHORT == 2
-typedef short int16_t;
-#elif HAVE_INT && SIZEOF_INT == 2
-typedef int int16_t;
-#else
-#error NO 16 bit signed type available
-#endif
-#endif
-
-/* u_int16_t */
-#if !HAVE_U_INT16_T
-#if HAVE_UINT16_T
-typedef uint16_t u_int16_t;
-#else
-typedef unsigned int16_t u_int16_t;
-#endif
-#endif
-
-/* int32_t */
-#if !HAVE_INT32_T
-#if HAVE_INT && SIZEOF_INT == 4
-typedef int int32_t;
-#elif HAVE_LONG && SIZEOF_LONG == 4
-typedef long int32_t;
-#else
-#error NO 32 bit signed type available
-#endif
-#endif
-
-/* u_int32_t */
-#if !HAVE_U_INT32_T
-#if HAVE_UINT32_T
-typedef uint32_t u_int32_t;
-#else
-typedef unsigned int32_t u_int32_t;
-#endif
-#endif
-
-/* int64_t */
-#if !HAVE_INT64_T
-#if HAVE___INT64
-typedef __int64 int64_t;
-#elif HAVE_LONG && SIZEOF_LONG == 8
-typedef long int64_t;
-#elif HAVE_LONG_LONG && SIZEOF_LONG_LONG == 8
-typedef long long int64_t;
-#else
-#error NO 64 bit signed type available
-#endif
-#endif
-
-/* u_int64_t */
-#if !HAVE_U_INT64_T
-#if HAVE_UINT64_T
-typedef uint64_t u_int64_t;
-#else
-typedef unsigned int64_t u_int64_t;
-#endif
-#endif
-
-
-#if !HAVE_PID_T
-typedef int pid_t;
-#endif
-
-#if !HAVE_SIZE_T
-typedef unsigned int size_t;
-#endif
-
-#if !HAVE_SSIZE_T
-typedef int ssize_t;
-#endif
-
-#if !HAVE_OFF_T
-typedef int off_t;
-#endif
-
-#if !HAVE_MODE_T
-typedef unsigned short mode_t;
-#endif
-
-#if !HAVE_FD_MASK
-typedef unsigned long fd_mask;
-#endif
-
-#if !HAVE_SOCKLEN_T
-typedef int socklen_t;
-#endif
-
 #if !defined(CACHEMGR_HOSTNAME)
 #define CACHEMGR_HOSTNAME ""
 #else