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