Fix the build after recent CARD64 / unsigned long fises for llvm 16
This commit is contained in:
parent
85d6c1d24d
commit
f10de63069
1 changed files with 6 additions and 9 deletions
|
@ -57,6 +57,8 @@ SOFTWARE.
|
||||||
# include <sys/isa_defs.h> /* Solaris: defines _LP64 if necessary */
|
# include <sys/isa_defs.h> /* Solaris: defines _LP64 if necessary */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#if defined(__SIZEOF_LONG__)
|
#if defined(__SIZEOF_LONG__)
|
||||||
# if __SIZEOF_LONG__ == 8
|
# if __SIZEOF_LONG__ == 8
|
||||||
# define LONG64 /* 32/64-bit architecture */
|
# define LONG64 /* 32/64-bit architecture */
|
||||||
|
@ -107,15 +109,10 @@ typedef short INT16;
|
||||||
|
|
||||||
typedef signed char INT8;
|
typedef signed char INT8;
|
||||||
|
|
||||||
# ifdef LONG64
|
typedef uint64_t CARD64;
|
||||||
typedef unsigned long CARD64;
|
typedef uint32_t CARD32;
|
||||||
typedef unsigned int CARD32;
|
typedef uint16_t CARD16;
|
||||||
# else
|
typedef uint8_t CARD8;
|
||||||
typedef unsigned long long CARD64;
|
|
||||||
typedef unsigned long CARD32;
|
|
||||||
# endif
|
|
||||||
typedef unsigned short CARD16;
|
|
||||||
typedef unsigned char CARD8;
|
|
||||||
|
|
||||||
typedef CARD32 BITS32;
|
typedef CARD32 BITS32;
|
||||||
typedef CARD16 BITS16;
|
typedef CARD16 BITS16;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue