From 1516573df46239ea76b7a8b142a6b719668cb26d Mon Sep 17 00:00:00 2001 From: okaestne Date: Sun, 15 Nov 2020 15:05:51 +0100 Subject: Include cleanup: components --- src/components/ble/BatteryInformationService.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/components/ble/BatteryInformationService.h') diff --git a/src/components/ble/BatteryInformationService.h b/src/components/ble/BatteryInformationService.h index 74b2222c..b00000a4 100644 --- a/src/components/ble/BatteryInformationService.h +++ b/src/components/ble/BatteryInformationService.h @@ -1,5 +1,9 @@ #pragma once +#define min // workaround: nimble's min/max macros conflict with libstdc++ +#define max #include +#undef max +#undef min namespace Pinetime { namespace System { -- cgit v1.2.3