Fix conflicts of min and max from stl_algo.h (included from atomic)

This commit is contained in:
Ritvik 2024-02-21 20:43:04 -05:00 committed by JF
parent 3b4b5a5163
commit 4d86a3c6c1

View File

@ -2,9 +2,9 @@
#define min // workaround: nimble's min/max macros conflict with libstdc++
#define max
#include <host/ble_gap.h>
#include <atomic>
#undef max
#undef min
#include <atomic>
namespace Pinetime {
namespace Controllers {