|
lws_smd_msg_printf(cx, LWSSMDCL_NETWORK, "%s", payload); |
LWSSMDCL_NETWORK is only defined if LWS_WITH_SYS_SMD is specified for compilation. However, this can be disabled if LWS_WITH_NETWORK is missing or if the project is not compiled with pthread on Windows. In that case, building libwebsockets will fail.
These are the two functions lws_extip_report and lws_extip_get_best. Based on the names, there’s also a check missing at the beginning to see if LWS_WITH_EXTIP is set, right?
libwebsockets/lib/system/system.c
Line 316 in 5797065
LWSSMDCL_NETWORKis only defined ifLWS_WITH_SYS_SMDis specified for compilation. However, this can be disabled ifLWS_WITH_NETWORKis missing or if the project is not compiled withpthreadon Windows. In that case, building libwebsockets will fail.These are the two functions
lws_extip_reportandlws_extip_get_best. Based on the names, there’s also a check missing at the beginning to see ifLWS_WITH_EXTIPis set, right?