AC_MSG_CHECKING([for intXX_t types])
AC_TRY_COMPILE(
[#include <sys/types.h>],
- [int8_t a; int16_t b; int32_t c; int64_t d; a = b = c = d = 1;],
+ [int8_t a; int16_t b; int32_t c; a = b = c = 1;],
[
AC_DEFINE(HAVE_INTXX_T)
AC_MSG_RESULT(yes)
AC_MSG_CHECKING([for u_intXX_t types])
AC_TRY_COMPILE(
[#include <sys/types.h>],
- [u_int8_t a; u_int16_t b; u_int32_t c; u_int64_t d; a = b = c = d = 1;],
+ [u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;],
[
AC_DEFINE(HAVE_U_INTXX_T)
AC_MSG_RESULT(yes)
AC_TRY_COMPILE(
[#include <sys/bitypes.h>],
[
- int8_t a; int16_t b; int32_t c; int64_t d;
- u_int8_t e; u_int16_t f; u_int32_t g; u_int64_t h;
- a = b = c = d = e = f = g = h = 1;
+ int8_t a; int16_t b; int32_t c;
+ u_int8_t e; u_int16_t f; u_int32_t g;
+ a = b = c = e = f = g = 1;
],
[
AC_DEFINE(HAVE_U_INTXX_T)
AC_MSG_CHECKING([for uintXX_t types])
AC_TRY_COMPILE(
[#include <sys/types.h>],
- [uint8_t a; uint16_t b; uint32_t c; uint64_t d; a = b = c = d = 1;],
+ [uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;],
[
AC_DEFINE(HAVE_UINTXX_T)
AC_MSG_RESULT(yes)
# else
# error "32 bit int type not found."
# endif
+/*
# if (SIZEOF_LONG_INT == 8)
typedef long int int64_t;
# else
# error "64 bit int type not found."
# endif
# endif
+*/
#endif
/* If sys/types.h does not supply u_intXX_t, supply them ourselves */
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
+/*
typedef uint64_t u_int64_t;
+*/
# define HAVE_U_INTXX_T 1
# else
# if (SIZEOF_CHAR == 1)
# else
# error "32 bit int type not found."
# endif
+/*
# if (SIZEOF_LONG_INT == 8)
typedef unsigned long int u_int64_t;
# else
# error "64 bit int type not found."
# endif
# endif
+*/
# endif
#endif