mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel
shim code in line with the rest of the kernel, sys/x86/include/_types.h. MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
0e1d7c25c5
commit
1784a6d64a
1 changed files with 8 additions and 0 deletions
|
|
@ -208,9 +208,17 @@ typedef unsigned int uint32_t;
|
|||
#define _INT32_T_DECLARED
|
||||
typedef signed int int32_t;
|
||||
#define _UINT64_T_DECLARED
|
||||
#ifndef __LP64__
|
||||
typedef unsigned long long uint64_t;
|
||||
#else
|
||||
typedef unsigned long uint64_t;
|
||||
#endif
|
||||
#define _INT16_T_DECLARED
|
||||
#ifndef __LP64__
|
||||
typedef signed long long int64_t;
|
||||
#else
|
||||
typedef signed long int64_t;
|
||||
#endif
|
||||
|
||||
typedef uint16_t uid_t;
|
||||
typedef uint16_t gid_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue