From 8fdff1053cd2d11e7ec1a4c50b308b7507724d8f Mon Sep 17 00:00:00 2001 From: Robin Rowe Date: Thu, 30 Jun 2016 02:02:08 +0800 Subject: [PATCH] fix __x86_64__ check https://github.com/warmcat/libwebsockets/issues/574 --- lib/libwebsockets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 8fd465e1..5b69136b 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -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 */