Skip to content

Commit

Permalink
eliminate "already defined" warning when passing TRACY_DELAYED_INIT t…
Browse files Browse the repository at this point in the history
…o the compiler on Apple clients
  • Loading branch information
Marcos Slomp committed Oct 9, 2023
1 parent da1bc2b commit 7d7537d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/client/TracyProfiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 7d7537d

Please sign in to comment.