mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Add dummy implementation when strerror() is missing
Use a simple empty string for platforms without an implementation.
This commit is contained in:
parent
e5720a347e
commit
9d614917c3
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@
|
|||
#define compatible_close(fd) close(fd);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRERROR
|
||||
#define strerror(x) ""
|
||||
#endif
|
||||
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
#ifdef USE_CYASSL
|
||||
#include <cyassl/openssl/ssl.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue