mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
parent
93ac0b671c
commit
8e9871d995
3 changed files with 1 additions and 7 deletions
|
@ -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 */
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue