Don't define cookie structs when not using string streams.

This commit is contained in:
Alex Shinn 2011-11-06 14:46:51 +09:00
parent 44ac1bcb89
commit a39b44e58b

View file

@ -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,