X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fgc_dlopen.c;h=6ca9e996fb297584209c43c2dbfbc4445d1c75ea;hb=c889057d6474dd7e077a4622bce8afe182f4164d;hp=4c690edcfe49c3c923722a34349aba2bb7576978;hpb=5d9434fcb3acc1ed7d3d30603faae797d672fe65;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)