Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / metadata-cross-helpers.c
index 561e9968838f4a69d24e7c6eb77e273118386a88..c4c81eaf32c8995a477773a8b60397189d5cf4d1 100644 (file)
@@ -1,3 +1,7 @@
+/**
+ * \file
+ */
+
 #include <stdio.h>
 
 #include "config.h"
@@ -5,6 +9,7 @@
 
 #include <mono/metadata/class-internals.h>
 #include <mono/metadata/object-internals.h>
+#include <mono/metadata/profiler-private.h>
 #include <mono/metadata/monitor.h>
 #include <mono/metadata/handle.h>
 #ifdef HAVE_SGEN_GC
@@ -31,11 +36,11 @@ dump_arch (void)
 static int
 dump_os (void)
 {
-#if defined (PLATFORM_WIN32)
+#if defined (HOST_WIN32)
        g_print ("#ifdef TARGET_WIN32\n");
-#elif defined (PLATFORM_ANDROID)
+#elif defined (HOST_ANDROID)
        g_print ("#ifdef TARGET_ANDROID\n");
-#elif defined (PLATFORM_MACOSX)
+#elif defined (HOST_DARWIN)
        g_print ("#ifdef TARGET_OSX\n");
 #elif defined (PLATFORM_IOS)
        g_print ("#ifdef TARGET_IOS\n");
@@ -97,6 +102,12 @@ mono_dump_metadata_offsets (void)
 void
 mono_metadata_cross_helpers_run (void);
 
+/*
+ * mono_metadata_cross_helpers_run:
+ *
+ *   Check that the offsets given by object-offsets.h match the offsets
+ * on the host. This only checks the metadata offsets.
+ */
 void
 mono_metadata_cross_helpers_run (void)
 {