projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the thread dump code safe by doing only async safe operations when a thread...
[mono.git]
/
mono
/
metadata
/
gc-stats.c
diff --git
a/mono/metadata/gc-stats.c
b/mono/metadata/gc-stats.c
index 20e7cae5831d5dc404c7516f55be8cc992fd07fb..ff442e43f6a7faf3484ec2848e7d0bc01d0f6438 100644
(file)
--- a/
mono/metadata/gc-stats.c
+++ b/
mono/metadata/gc-stats.c
@@
-23,4
+23,8
@@
* Due to a bug in the linker on Darwin we need to initialize this struct, or there will be
* "undefined symbol" errors.
*/
+#if defined(__APPLE__)
GCStats gc_stats = {};
+#else
+GCStats gc_stats;
+#endif