1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

remove u_int64_t

https://github.com/warmcat/libwebsockets/issues/1167
This commit is contained in:
Andy Green 2018-01-30 09:28:13 +08:00
parent 93ac0b671c
commit 8e9871d995
3 changed files with 1 additions and 7 deletions

View file

@ -4517,9 +4517,6 @@ lws_timed_callback_vh_protocol(struct lws_vhost *vh,
#if !defined(LWS_SIZEOFPTR)
#define LWS_SIZEOFPTR ((int)sizeof (void *))
#endif
#if !defined(u_int64_t)
#define u_int64_t unsigned long long
#endif
#if defined(__x86_64__)
#define _LWS_PAD_SIZE 16 /* Intel recommended for best performance */

View file

@ -45,7 +45,7 @@ struct sha1_ctxt {
} h;
union {
unsigned char b8[8];
u_int64_t b64[1];
uint64_t b64[1];
} c;
union {
unsigned char b8[64];

View file

@ -280,9 +280,6 @@ static inline int compatible_close(int fd) { return close(fd); }
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#ifndef u_int64_t
typedef unsigned __int64 u_int64_t;
#endif
#undef __P
#ifndef __P