mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 06:09:18 +02:00
Don't define cookie structs when not using string streams.
This commit is contained in:
parent
44ac1bcb89
commit
a39b44e58b
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ static int sexp_cookie_cleaner (void *cookie) {
|
||||||
return (sexp_exceptionp(res) ? -1 : sexp_truep(res));
|
return (sexp_exceptionp(res) ? -1 : sexp_truep(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ! SEXP_BSD
|
#if (SEXP_USE_STRING_STREAMS && !SEXP_BSD)
|
||||||
|
|
||||||
static cookie_io_functions_t sexp_cookie = {
|
static cookie_io_functions_t sexp_cookie = {
|
||||||
.read = (cookie_read_function_t*)sexp_cookie_reader,
|
.read = (cookie_read_function_t*)sexp_cookie_reader,
|
||||||
|
|
Loading…
Add table
Reference in a new issue