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