projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3382efe
)
fix __x86_64__ check
author
Robin Rowe
<robin@cinepaint.org>
Wed, 29 Jun 2016 18:14:03 +0000
(
02:14
+0800)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index 328c7c27507875dabd4f0d220000c673d747ff79..50bc8d4cd1841cfd43e2f85eca7804914b9ef66d 100644
(file)
--- a/
lib/libwebsockets.h
+++ b/
lib/libwebsockets.h
@@
-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 */