From 24cc418275fd3f8ca7836284e5258ebc35fef013 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Thu, 26 May 2011 08:00:36 +0900 Subject: [PATCH] fixing build for no DL --- eval.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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