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);