diff --git a/eval.c b/eval.c index f30ed4af..52d0a469 100755 --- a/eval.c +++ b/eval.c @@ -1039,8 +1039,9 @@ static sexp sexp_load_dl (sexp ctx, sexp file, sexp env) { return entry->init(ctx sexp_api_pass(NULL, 1), env); } -#elif SEXP_USE_DL +#else #define sexp_find_static_library(path) NULL +#if SEXP_USE_DL #ifdef __MINGW32__ #include static sexp sexp_load_dl (sexp ctx, sexp file, sexp env) { @@ -1070,6 +1071,7 @@ static sexp sexp_load_dl (sexp ctx, sexp file, sexp env) { } #endif #endif +#endif sexp sexp_load_op (sexp ctx sexp_api_params(self, n), sexp source, sexp env) { #if SEXP_USE_DL || SEXP_USE_STATIC_LIBS