mirror of
https://github.com/reactos/CMake.git
synced 2025-02-27 07:27:23 +00:00
expat: Fix compilation on systems without stdint.h
This commit is contained in:
parent
0a40c668f5
commit
d5afb178f1
@ -76,8 +76,18 @@
|
|||||||
#define SIPHASH_H
|
#define SIPHASH_H
|
||||||
|
|
||||||
#include <stddef.h> /* size_t */
|
#include <stddef.h> /* size_t */
|
||||||
#include <stdint.h> /* uint64_t uint32_t uint8_t */
|
|
||||||
|
|
||||||
|
#include <cm_kwiml.h>
|
||||||
|
|
||||||
|
#ifndef KWIML_INT_HAVE_UINT64_T
|
||||||
|
# define uint64_t KWIML_INT_uint64_t
|
||||||
|
#endif
|
||||||
|
#ifndef KWIML_INT_HAVE_UINT32_T
|
||||||
|
# define uint32_t KWIML_INT_uint32_t
|
||||||
|
#endif
|
||||||
|
#ifndef KWIML_INT_HAVE_UINT8_T
|
||||||
|
# define uint8_t KWIML_INT_uint8_t
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ( (x) >> (64 - (b))))
|
#define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ( (x) >> (64 - (b))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user