0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

eliminate "already defined" warning when passing TRACY_DELAYED_INIT to the compiler on Apple clients

This commit is contained in:
Marcos Slomp
2023-10-09 13:19:46 -07:00
parent da1bc2b60e
commit ded5b81fa4

View File

@@ -83,7 +83,9 @@
#endif
#ifdef __APPLE__
# define TRACY_DELAYED_INIT
# ifndef TRACY_DELAYED_INIT
# define TRACY_DELAYED_INIT
# endif
#else
# ifdef __GNUC__
# define init_order( val ) __attribute__ ((init_priority(val)))