From 217dc72a2bf20704e372ef0cae52042bef3c52c8 Mon Sep 17 00:00:00 2001 From: Tim Teulings Date: Sat, 16 Nov 2024 16:13:55 +0100 Subject: [PATCH] bug: Fix issue #1624 - Undef possible Windows getObject define --- libosmscout/include/osmscout/location/Location.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libosmscout/include/osmscout/location/Location.h b/libosmscout/include/osmscout/location/Location.h index 1b4e79631..a3aa2a036 100644 --- a/libosmscout/include/osmscout/location/Location.h +++ b/libosmscout/include/osmscout/location/Location.h @@ -27,6 +27,11 @@ #include #include +#ifdef GetObject +#undef GetObject +#endif + + namespace osmscout { /** * \defgroup Location Location related data structures and services