mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 13:37:35 +02:00
fixing build for no DL
This commit is contained in:
parent
31ef22a665
commit
24cc418275
1 changed files with 3 additions and 1 deletions
4
eval.c
4
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);
|
return entry->init(ctx sexp_api_pass(NULL, 1), env);
|
||||||
}
|
}
|
||||||
#elif SEXP_USE_DL
|
#else
|
||||||
#define sexp_find_static_library(path) NULL
|
#define sexp_find_static_library(path) NULL
|
||||||
|
#if SEXP_USE_DL
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
static sexp sexp_load_dl (sexp ctx, sexp file, sexp env) {
|
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
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
sexp sexp_load_op (sexp ctx sexp_api_params(self, n), sexp source, sexp env) {
|
sexp sexp_load_op (sexp ctx sexp_api_params(self, n), sexp source, sexp env) {
|
||||||
#if SEXP_USE_DL || SEXP_USE_STATIC_LIBS
|
#if SEXP_USE_DL || SEXP_USE_STATIC_LIBS
|
||||||
|
|
Loading…
Add table
Reference in a new issue