mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Simplify check for uint64_t and u_int64_t
llvm-svn: 16155
This commit is contained in:
parent
610817d50b
commit
16145fa607
@ -36,15 +36,12 @@
|
||||
@INCLUDE_INTTYPES_H@
|
||||
@INCLUDE_SYS_TYPES_H@
|
||||
@INCLUDE_STDINT_H@
|
||||
|
||||
// Handle incorrect definition of uint64_t as u_int64_t
|
||||
#ifndef HAVE_UINT64_T
|
||||
#ifdef HAVE_U_INT64_T
|
||||
// Interix has u_int64_t, but not uint64_t
|
||||
#if !defined(HAVE_UINT64_T) && defined(HAVE_U_INT64_T)
|
||||
typedef u_int64_t uint64_t;
|
||||
#else
|
||||
# error "Don't have a definition for uint64_t on this platform"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else
|
||||
// Visual C++ doesn't provide standard integer headers, but it does provide
|
||||
|
Loading…
x
Reference in New Issue
Block a user