Skip to content

Commit c9b70bd

Browse files
committed
LIBRETINY check inside the ifdef
1 parent 83ac5a2 commit c9b70bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/AsyncEventSource.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88

99
#if defined(ESP32) || defined(LIBRETINY)
1010
#include <AsyncTCP.h>
11+
#ifdef LIBRETINY
1112
#ifdef round
1213
#undef round
1314
#endif
15+
#endif
1416
#include <mutex>
1517
#ifndef SSE_MAX_QUEUED_MESSAGES
1618
#define SSE_MAX_QUEUED_MESSAGES 32

src/AsyncWebSocket.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88

99
#if defined(ESP32) || defined(LIBRETINY)
1010
#include <AsyncTCP.h>
11+
#ifdef LIBRETINY
1112
#ifdef round
1213
#undef round
1314
#endif
15+
#endif
1416
#include <mutex>
1517
#ifndef WS_MAX_QUEUED_MESSAGES
1618
#define WS_MAX_QUEUED_MESSAGES 32

0 commit comments

Comments
 (0)