1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Purge LWS_HAVE_BZERO

All the bzero calls were removed in
09fe212432.
This commit is contained in:
Orgad Shaneh 2019-05-30 05:50:27 +08:00 committed by Andy Green
parent 810a58e531
commit 880a139cc1
2 changed files with 0 additions and 10 deletions

View file

@ -717,13 +717,6 @@ if (HAIKU)
set(CMAKE_REQUIRED_LIBRARIES network)
endif()
CHECK_C_SOURCE_COMPILES(
"#include <strings.h>
#if __GNUC__
#pragma GCC diagnostic error \"-Wimplicit-function-declaration\"
#endif
int main(int argc, char **argv) { char buf[100]; bzero(buf, 100); return 0; }
" LWS_HAVE_BZERO)
CHECK_C_SOURCE_COMPILES(
"#include <malloc.h>
int main(int argc, char **argv) { return malloc_trim(0); }

View file

@ -10,9 +10,6 @@
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
#cmakedefine USE_CYASSL
/* Define to 1 if you have the `bzero' function. */
#cmakedefine LWS_HAVE_BZERO
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine LWS_HAVE_DLFCN_H