From a39b44e58b51bcce8017d7d8cb3bb133ec03aa89 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Sun, 6 Nov 2011 14:46:51 +0900 Subject: [PATCH] Don't define cookie structs when not using string streams. --- lib/chibi/io/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chibi/io/port.c b/lib/chibi/io/port.c index 99ad6d5d..2e3d3c87 100644 --- a/lib/chibi/io/port.c +++ b/lib/chibi/io/port.c @@ -124,7 +124,7 @@ static int sexp_cookie_cleaner (void *cookie) { 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 = { .read = (cookie_read_function_t*)sexp_cookie_reader,