1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Don't just assume that either uint64_t or u_int64_t is available. Instead,

give preference to uint64_t if it exists. If not, check for u_int64_t. If
that doesn't exist either, then error out.

llvm-svn: 16149
This commit is contained in:
Reid Spencer 2004-09-02 21:38:24 +00:00
parent 2676000067
commit 4295e81138

View File

@ -315,8 +315,9 @@ dnl Check for types
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_CHECK_TYPES([int64_t],,AC_MSG_ERROR([Type int64_t required but not found]))
AC_CHECK_TYPES([uint64_t],,AC_MSG_ERROR([Type uint64_t required but not found]))
AC_CHECK_TYPES([u_int64_t])
AC_CHECK_TYPES([uint64_t],,
AC_CHECK_TYPES([u_int64_t],,
AC_MSG_ERROR([Type uint64_t or u_int64_t required but not found])))
AC_HEADER_TIME
AC_STRUCT_TM