fix __x86_64__ check

https://github.com/warmcat/libwebsockets/issues/574
This commit is contained in:
Robin Rowe 2016-06-30 02:14:03 +08:00 committed by Andy Green
parent 3382efe5d6
commit 7d45a746d6

View file

@ -1836,7 +1836,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 */