fix __x86_64__ check
authorRobin Rowe <robin@cinepaint.org>
Wed, 29 Jun 2016 18:14:03 +0000 (02:14 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 29 Jun 2016 18:14:03 +0000 (02:14 +0800)
https://github.com/warmcat/libwebsockets/issues/574

lib/libwebsockets.h

index 328c7c27507875dabd4f0d220000c673d747ff79..50bc8d4cd1841cfd43e2f85eca7804914b9ef66d 100644 (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 */