mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Change definition of int64 to avoid gcc3.2.1 complaints. Taken from i386
Approved by: benno
This commit is contained in:
parent
b51ea35631
commit
0212856f3c
1 changed files with 13 additions and 2 deletions
|
|
@ -48,10 +48,21 @@ typedef short __int16_t;
|
|||
typedef unsigned short __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
|
||||
#if defined(lint)
|
||||
/* LONGLONG */
|
||||
typedef long long __int64_t;
|
||||
typedef long long __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long __uint64_t;
|
||||
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
|
||||
/* LONGLONG */
|
||||
typedef long long __int64_t;
|
||||
/* LONGLONG */
|
||||
typedef unsigned long long __uint64_t;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Standard type definitions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue