Fix conflicts of min and max from stl_algo.h (included from atomic)
This commit is contained in:
parent
3b4b5a5163
commit
4d86a3c6c1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user