diff options
author | phk <phk@FreeBSD.org> | 2002-10-01 14:07:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-01 14:07:18 +0000 |
commit | 294ee07593f2f227e764c6cc8004bda4e74e791a (patch) | |
tree | e6dbdcfd606920513611abafb6d7cb722794916c | |
parent | 51b94ac147da2eb8027c0050b9bc71b9874ff1b8 (diff) | |
download | FreeBSD-src-294ee07593f2f227e764c6cc8004bda4e74e791a.zip FreeBSD-src-294ee07593f2f227e764c6cc8004bda4e74e791a.tar.gz |
Use long long to indicate 64bitness in #ifdef lint.
-rw-r--r-- | sys/i386/include/_types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/include/_types.h b/sys/i386/include/_types.h index 1aed9f8..2b61c4f 100644 --- a/sys/i386/include/_types.h +++ b/sys/i386/include/_types.h @@ -49,7 +49,12 @@ typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; -#if defined(__GNUC__) +#if defined(lint) +/* LONGLONG */ +typedef long long __int64_t; +/* LONGLONG */ +typedef unsigned long long __uint64_t; +#elif defined(__GNUC__) typedef int __attribute__((__mode__(__DI__))) __int64_t; typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t; #else |