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

main
Ritvik 2024-02-21 20:43:04 +07:00 committed by JF
parent 3b4b5a5163
commit 4d86a3c6c1
1 changed files with 1 additions and 1 deletions

@ -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 {