X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fgc_dlopen.c;h=6ca9e996fb297584209c43c2dbfbc4445d1c75ea;hb=b0a7eca6fd3a31cf57c7b111dceeb23dc552b819;hp=4c690edcfe49c3c923722a34349aba2bb7576978;hpb=669beaed8380fa592533c8755f72593b4422d01d;p=mono.git diff --git a/libgc/gc_dlopen.c b/libgc/gc_dlopen.c index 4c690edcfe4..6ca9e996fb2 100644 --- a/libgc/gc_dlopen.c +++ b/libgc/gc_dlopen.c @@ -25,7 +25,7 @@ #include "private/gc_priv.h" -# if (defined(GC_PTHREADS) && !defined(GC_DARWIN_THREADS)) \ +# if defined(DYNAMIC_LOADING) && (defined(GC_PTHREADS) && !defined(GC_DARWIN_THREADS)) \ || defined(GC_SOLARIS_THREADS) # if defined(dlopen) && !defined(GC_USE_LD_WRAP)