From 4b9191c8448d17923546bc43ccf1ef9a8fbb6ece Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Fri, 29 Dec 2023 17:21:32 -0800 Subject: [PATCH] don't re-define WOLFSSH_THREAD in echoserver.h --- .../examples/wolfssl_echoserver/main/include/echoserver.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ide/Espressif/ESP-IDF/examples/wolfssl_echoserver/main/include/echoserver.h b/ide/Espressif/ESP-IDF/examples/wolfssl_echoserver/main/include/echoserver.h index 2e0eb6e2e..ac7e17cf2 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssl_echoserver/main/include/echoserver.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssl_echoserver/main/include/echoserver.h @@ -23,7 +23,11 @@ #define _WOLFSSH_EXAMPLES_ECHOSERVER_H_ #include -#define WOLFSSH_THREAD + +#ifndef WOLFSSH_THREAD + #define WOLFSSH_THREAD +#endif + THREAD_RETURN WOLFSSH_THREAD echoserver_test(void* args); int wolfSSH_Echoserver(int argc, char** argv);