]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin: fix x86 build on macOS 10.13 (and probably 10.14)
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Dec 2025 07:27:29 +0000 (08:27 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Dec 2025 07:27:29 +0000 (08:27 +0100)
coregrind/m_mach/dyld_cache.c

index 8c5b9a3b1d2238d7896452f606aa37c5e17d1c2c..62578070049d87045150668cff007b3db230fbb3 100644 (file)
    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)