fix __x86_64__ check
https://github.com/warmcat/libwebsockets/issues/574
This commit is contained in:
parent
3382efe5d6
commit
7d45a746d6
1 changed files with 1 additions and 1 deletions
|
@ -1836,7 +1836,7 @@ lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs);
|
||||||
#define u_int64_t unsigned long long
|
#define u_int64_t unsigned long long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __x86_64__
|
#if defined(__x86_64__)
|
||||||
#define _LWS_PAD_SIZE 16 /* Intel recommended for best performance */
|
#define _LWS_PAD_SIZE 16 /* Intel recommended for best performance */
|
||||||
#else
|
#else
|
||||||
#define _LWS_PAD_SIZE LWS_SIZEOFPTR /* Size of a pointer on the target arch */
|
#define _LWS_PAD_SIZE LWS_SIZEOFPTR /* Size of a pointer on the target arch */
|
||||||
|
|
Loading…
Add table
Reference in a new issue