Add missing source file, sgen-os-coop.c, to libmonoruntime Visual Studio project.
[mono.git] / mono / metadata / null-gc.c
index c1a531c0dc87eac782c46785a481b82df532abc6..47d7dc5b1decdcde5b5cec33b24527f639ddc41d 100644 (file)
@@ -551,5 +551,9 @@ mono_gc_is_null (void)
 {
        return TRUE;
 }
-
-#endif
+#else
+       #ifdef _MSC_VER
+               // Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty.
+               void __mono_win32_null_gc_quiet_lnk4221(void) {}
+       #endif
+#endif /* HAVE_NULL_GC */