projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lws_intptr_t
[platform/upstream/libwebsockets.git]
/
lib
/
libwebsockets.h
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index
2214b01
..
3358910
100644
(file)
--- a/
lib/libwebsockets.h
+++ b/
lib/libwebsockets.h
@@
-33,6
+33,13
@@
extern "C" {
#include <stdarg.h>
#endif
+#if defined(LWS_HAS_INTPTR_T)
+#include <stdint.h>
+#define lws_intptr_t intptr_t
+#else
+typedef unsigned long long lws_intptr_t;
+#endif
+
#if defined(LWS_WITH_ESP8266)
struct sockaddr_in;
#define LWS_POSIX 0