mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Simplify check for uint64_t and u_int64_t
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
206043aac9
commit
18d55dd700
@ -36,15 +36,12 @@
|
|||||||
@INCLUDE_INTTYPES_H@
|
@INCLUDE_INTTYPES_H@
|
||||||
@INCLUDE_SYS_TYPES_H@
|
@INCLUDE_SYS_TYPES_H@
|
||||||
@INCLUDE_STDINT_H@
|
@INCLUDE_STDINT_H@
|
||||||
|
// Interix has u_int64_t, but not uint64_t
|
||||||
// Handle incorrect definition of uint64_t as u_int64_t
|
#if !defined(HAVE_UINT64_T) && defined(HAVE_U_INT64_T)
|
||||||
#ifndef HAVE_UINT64_T
|
|
||||||
#ifdef HAVE_U_INT64_T
|
|
||||||
typedef u_int64_t uint64_t;
|
typedef u_int64_t uint64_t;
|
||||||
#else
|
#else
|
||||||
# error "Don't have a definition for uint64_t on this platform"
|
# error "Don't have a definition for uint64_t on this platform"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// Visual C++ doesn't provide standard integer headers, but it does provide
|
// Visual C++ doesn't provide standard integer headers, but it does provide
|
||||||
|
Loading…
Reference in New Issue
Block a user