From 7d7537d8b5ea31e14460043b8e76e4bba7836e6d Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Mon, 9 Oct 2023 13:19:46 -0700 Subject: [PATCH] eliminate "already defined" warning when passing TRACY_DELAYED_INIT to the compiler on Apple clients --- public/client/TracyProfiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index 0469273729..87fb71407c 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -83,7 +83,9 @@ #endif #ifdef __APPLE__ +# ifndef TRACY_DELAYED_INIT # define TRACY_DELAYED_INIT +# endif #else # ifdef __GNUC__ # define init_order( val ) __attribute__ ((init_priority(val)))