projects
/
ttyd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c6317
)
src: refuse to compile with lws 3.2.0
author
Shuanglei Tao
<tsl0922@gmail.com>
Sat, 14 Sep 2019 03:30:39 +0000
(11:30 +0800)
committer
Shuanglei Tao
<tsl0922@gmail.com>
Sat, 14 Sep 2019 03:30:39 +0000
(11:30 +0800)
src/server.c
patch
|
blob
|
history
diff --git
a/src/server.c
b/src/server.c
index cea5774364a1add0a9653eb61f68028f71fc41a0..7afa467aabdedc1f19bcf19f74799f8d1038b86b 100644
(file)
--- a/
src/server.c
+++ b/
src/server.c
@@
-18,6
+18,10
@@
#define TTYD_VERSION "unknown"
#endif
+#if LWS_LIBRARY_VERSION_NUMBER == 3002000
+#error "libwebsockets 3.2.0 is not compatible with ttyd."
+#endif
+
volatile bool force_exit = false;
struct lws_context *context;
struct tty_server *server;