Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cores/esp32/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ extern "C" void configTzTime(const char* tz,
long random(long);
#endif /* __cplusplus */

#ifndef _GLIBCXX_VECTOR
// arduino is not compatible with std::vector
#if !defined(_GLIBCXX_VECTOR) && !defined(_GLIBCXX_FUNCTIONAL)
// arduino is not compatible with std::vector or std::function
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#endif
Expand Down