fixing build for no DL

This commit is contained in:
Alex Shinn 2011-05-26 08:00:36 +09:00
parent 31ef22a665
commit 24cc418275

4
eval.c
View file

@ -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 <windows.h>
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