update libwebsockets

This commit is contained in:
PatriceJiang 2021-03-02 14:51:53 +08:00
parent 556f37a4c1
commit ea51283f7b
3 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ typedef unsigned long long lws_intptr_t;
#define LWS_FORMAT(string_index)
#endif
#if defined(__ANDROID__)
#if defined(__OHOS__)
#include <unistd.h>
#define getdtablesize() sysconf(_SC_OPEN_MAX)
#endif

View File

@ -6,7 +6,7 @@
#endif
#endif
#define LWS_INSTALL_DATADIR "/Volumes/data/hw/arm64/share"
#define LWS_INSTALL_DATADIR "/Users/pt/Github/cocos2d-x-lite-external/ohos/arm64-v8a/share"
/* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
@ -100,7 +100,7 @@
/* #undef LWS_WITH_CGI */
/* whether the Openssl is recent enough, and / or built with, ecdh */
#define LWS_HAVE_OPENSSL_ECDH_H
/* #undef LWS_HAVE_OPENSSL_ECDH_H */
/* HTTP Proxy support */
/* #undef LWS_WITH_HTTP_PROXY */

Binary file not shown.