First set of licensing changes
[mono.git] / mono / metadata / gc-stats.c
1 /*
2  * gc-stats.c: GC statistics.
3  *
4  * Copyright (C) 2015 Xamarin Inc
5  *
6  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
7  */
8
9 #include "mono/sgen/gc-internal-agnostic.h"
10
11 /*
12  * Due to a bug in the linker on Darwin we need to initialize this struct, or there will be
13  * "undefined symbol" errors.
14  */
15 #if defined(__APPLE__)
16 GCStats gc_stats = {};
17 #else
18 GCStats gc_stats;
19 #endif