From b2ef6fd57c04a96bf457fee71e3b1a0e4c60d256 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 20 May 2019 01:11:31 +0200 Subject: [PATCH] only apply mac fix on macos --- radiant/server.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radiant/server.cpp b/radiant/server.cpp index 9bbdd946..c9e07780 100644 --- a/radiant/server.cpp +++ b/radiant/server.cpp @@ -144,9 +144,11 @@ FunctionPointer findSymbol( const char* symbol ){ #include +#if GDEF_OS_MACOS #ifndef RTLD_DEEPBIND #define RTLD_DEEPBIND 0 -#endif +#endif // RTLD_DEEPBIND +#endif // GDEF_OS_MACOS class DynamicLibrary { void *m_library; -- 2.39.2