瀏覽代碼

Disable WebSocket IPv6 support on OpenBSD.

OpenBSD does not support dual stacking, disabling IPv6 for now.
Will possibly come back if/when we get websocket running using our own
NetSocket class.
Fabio Alessandrelli 6 年之前
父節點
當前提交
6d64a54d75
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      thirdparty/libwebsockets/include/lws_config.h

+ 3 - 1
thirdparty/libwebsockets/include/lws_config.h

@@ -77,8 +77,10 @@
 /* #undef LWS_WITH_LIBEVENT */
 
 /* Build with support for ipv6 */
-/* #undef LWS_WITH_IPV6 */
+/* Everywhere, except in OpenBSD which does not support dual stacking */
+#if !defined(__OpenBSD__)
 #define LWS_WITH_IPV6
+#endif
 
 /* Build with support for UNIX domain socket */
 /* #undef LWS_WITH_UNIX_SOCK */