1
0
Fork 0
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:
Patrick Gansterer 2014-02-28 00:59:53 +01:00 committed by Andy Green
parent e5720a347e
commit 9d614917c3

View file

@ -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>