X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmetadata-cross-helpers.c;h=c4c81eaf32c8995a477773a8b60397189d5cf4d1;hb=HEAD;hp=90a4d332bd129c818bebd54cb74b4e90ddd481f6;hpb=58e8a9f85176c9607e605b888ef45db01a0f6997;p=mono.git diff --git a/mono/metadata/metadata-cross-helpers.c b/mono/metadata/metadata-cross-helpers.c index 90a4d332bd1..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,7 +9,9 @@ #include #include +#include #include +#include #ifdef HAVE_SGEN_GC #include #endif @@ -30,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"); @@ -96,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) {