From 60c1da327bd7b2bd3ed150b3f88973b757c7f9ea Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 2 Aug 2024 12:34:07 +0200 Subject: [PATCH] compile all platforms --- lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp b/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp index b7d0c636a..620653ae7 100644 --- a/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp +++ b/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp @@ -6,6 +6,8 @@ For a copy, see or the LICENSE file. */ +#if defined(__linux__) || defined(_WIN32) || defined(__APPLE__) + #include "ClientPosixIPAddress.h" IPAddress::IPAddress() @@ -26,3 +28,5 @@ IPAddress::IPAddress(uint32_t address) IPAddress::operator uint32_t() { return _address; } + +#endif