X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=blobdiff_plain;f=mono%2Fmini%2Fmini.h;h=1ce7a63264a5790cfeeef1afa271db606f938bc6;hp=42a0356ef839cfc17c5bf341d1b088f247898055;hb=52e98abd6e5c6d10ddea91a529f7b1b2336e0696;hpb=92576e31d2dadb37308abf8b048ccd0a97c98584 diff --git a/mono/mini/mini.h b/mono/mini/mini.h index 42a0356ef83..1ce7a63264a 100644 --- a/mono/mini/mini.h +++ b/mono/mini/mini.h @@ -54,9 +54,11 @@ * The mini code should not have any compile time dependencies on the GC being used, so the same object file from mini/ * can be linked into both mono and mono-sgen. */ +#if !defined(MONO_DLL_EXPORT) || !defined(_MSC_VER) #if defined(HAVE_BOEHM_GC) || defined(HAVE_SGEN_GC) #error "The code in mini/ should not depend on these defines." #endif +#endif #ifndef __GNUC__ /*#define __alignof__(a) sizeof(a)*/