Merge pull request #635 from slomp/slomp/apple-delayed-init-fix

eliminate "already defined" warning when passing TRACY_DELAYED_INIT to the compiler on Apple clients
This commit is contained in:
Bartosz Taudul 2023-10-09 22:26:04 +02:00 committed by GitHub
commit 0080eaac42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)))