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