mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +00:00
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:
commit
0080eaac42
@ -83,7 +83,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
# ifndef TRACY_DELAYED_INIT
|
||||||
# define TRACY_DELAYED_INIT
|
# define TRACY_DELAYED_INIT
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
# define init_order( val ) __attribute__ ((init_priority(val)))
|
# define init_order( val ) __attribute__ ((init_priority(val)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user