X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-layout-stats.c;h=04b1f241e1abaff2b96990b572e1bdf5e5bf8907;hb=23a69556ded315d102337bf13971411188e26bcd;hp=44ddf94b24dad9e505796d536d2d0c6f99417e14;hpb=4c960e1dd530396fdd9400c87729a6ce3101e5c1;p=mono.git diff --git a/mono/sgen/sgen-layout-stats.c b/mono/sgen/sgen-layout-stats.c index 44ddf94b24d..04b1f241e1a 100644 --- a/mono/sgen/sgen-layout-stats.c +++ b/mono/sgen/sgen-layout-stats.c @@ -9,6 +9,7 @@ #include "sgen/sgen-gc.h" #include "sgen/sgen-layout-stats.h" +#include #ifdef SGEN_OBJECT_LAYOUT_STATISTICS @@ -60,9 +61,6 @@ sgen_object_layout_dump (FILE *out) } #else -#ifdef _MSC_VER -// Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty. -void __mono_win32_sgen_layout_stats_quiet_lnk4221(void) {} -#endif +MONO_EMPTY_SOURCE_FILE (sgen_layout_stats); #endif /* SGEN_OBJECT_LAYOUT_STATISTICS */ #endif