From: Paul Floyd Date: Tue, 23 Dec 2025 07:27:29 +0000 (+0100) Subject: Darwin: fix x86 build on macOS 10.13 (and probably 10.14) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19919fedefda316b283633951754068645aef65c;p=thirdparty%2Fvalgrind.git Darwin: fix x86 build on macOS 10.13 (and probably 10.14) --- diff --git a/coregrind/m_mach/dyld_cache.c b/coregrind/m_mach/dyld_cache.c index 8c5b9a3b1..625780700 100644 --- a/coregrind/m_mach/dyld_cache.c +++ b/coregrind/m_mach/dyld_cache.c @@ -25,12 +25,14 @@ The GNU General Public License is contained in the file COPYING. */ +#include "config.h" // for DARWIN_VERS + // While dyld_caching as existed for longer than that // we have used DYLD_SHARED_REGION=avoid in the past // // Starting with macOS 11 (Big Sur), it isn't an option anymore // as some dylib are not provided in file format anymore -#if defined(VGO_darwin) && DARWIN_VERS >= DARWIN_11_00 +#if defined(VGO_darwin) && (DARWIN_VERS >= DARWIN_11_00) #include "pub_core_debuginfo.h" // VG_(di_notify_dsc) #include "pub_core_debuglog.h" // VG_(debugLog)