mirror of
https://github.com/facebook/zstd.git
synced 2025-11-28 00:04:28 -05:00
Fix building xxhash on AIX 5.1
This commit is contained in:
parent
ffde100b68
commit
66269e74a0
@ -575,7 +575,11 @@ typedef uint32_t XXH32_hash_t;
|
||||
#elif !defined (__VMS) \
|
||||
&& (defined (__cplusplus) \
|
||||
|| (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
|
||||
# include <stdint.h>
|
||||
# ifdef _AIX
|
||||
# include <inttypes.h>
|
||||
# else
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
typedef uint32_t XXH32_hash_t;
|
||||
|
||||
#else
|
||||
@ -849,7 +853,11 @@ typedef uint64_t XXH64_hash_t;
|
||||
#elif !defined (__VMS) \
|
||||
&& (defined (__cplusplus) \
|
||||
|| (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
|
||||
# include <stdint.h>
|
||||
# ifdef _AIX
|
||||
# include <inttypes.h>
|
||||
# else
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
typedef uint64_t XXH64_hash_t;
|
||||
#else
|
||||
# include <limits.h>
|
||||
@ -2465,7 +2473,11 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size)
|
||||
#if !defined (__VMS) \
|
||||
&& (defined (__cplusplus) \
|
||||
|| (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
|
||||
# include <stdint.h>
|
||||
# ifdef _AIX
|
||||
# include <inttypes.h>
|
||||
# else
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
typedef uint8_t xxh_u8;
|
||||
#else
|
||||
typedef unsigned char xxh_u8;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user