fix __x86_64__ check

https://github.com/warmcat/libwebsockets/issues/574
This commit is contained in:
Robin Rowe 2016-06-30 02:02:08 +08:00 committed by Andy Green
parent 9ec76d4b72
commit 8fdff1053c

View file

@ -2874,7 +2874,7 @@ lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs);
#define u_int64_t unsigned long long
#endif
#if __x86_64__
#if defined(__x86_64__)
#define _LWS_PAD_SIZE 16 /* Intel recommended for best performance */
#else
#define _LWS_PAD_SIZE LWS_SIZEOFPTR /* Size of a pointer on the target arch */