X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmetadata-cross-helpers.c;h=c4c81eaf32c8995a477773a8b60397189d5cf4d1;hb=HEAD;hp=561e9968838f4a69d24e7c6eb77e273118386a88;hpb=d326ae2998c679e1e78897cfcb2d5fd4fbcf2c8d;p=mono.git diff --git a/mono/metadata/metadata-cross-helpers.c b/mono/metadata/metadata-cross-helpers.c index 561e9968838..c4c81eaf32c 100644 --- a/mono/metadata/metadata-cross-helpers.c +++ b/mono/metadata/metadata-cross-helpers.c @@ -1,3 +1,7 @@ +/** + * \file + */ + #include #include "config.h" @@ -5,6 +9,7 @@ #include #include +#include #include #include #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) {