File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919#include < mbedtls/sha1.h>
2020#elif defined(HOST)
2121#include " BackPort_SHA1Builder.h"
22+ #ifndef FPSTR
23+ #define FPSTR (const char *)
24+ #endif
2225#endif
2326
2427#include < algorithm>
Original file line number Diff line number Diff line change 55
66#include < Arduino.h>
77
8- #if defined(ESP32) || defined(LIBRETINY)
8+ #if defined(ESP32) || defined(LIBRETINY) || defined(HOST)
99#include < AsyncTCP.h>
1010#ifdef LIBRETINY
1111#ifdef round
1616#ifndef WS_MAX_QUEUED_MESSAGES
1717#define WS_MAX_QUEUED_MESSAGES 32
1818#endif
19- #elif defined(HOST)
20- #ifndef FPSTR
21- #define FPSTR (const char *)
22- #endif
23- #include < AsyncTCP.h>
24- #ifndef WS_MAX_QUEUED_MESSAGES
25- #define WS_MAX_QUEUED_MESSAGES 32
26- #endif
2719#elif defined(ESP8266)
2820#include < ESPAsyncTCP.h>
2921#ifndef WS_MAX_QUEUED_MESSAGES
You can’t perform that action at this time.
0 commit comments