From 2ecbe98aafdd93a0bab0c21f9e77c0a7836a2500 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Sat, 27 Jun 2015 22:41:23 +0900 Subject: [PATCH] fixing build for non-timed gc --- sexp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sexp.c b/sexp.c index e836586e..438697b6 100644 --- a/sexp.c +++ b/sexp.c @@ -485,7 +485,10 @@ sexp sexp_make_context (sexp ctx, size_t size, size_t max_size) { sexp_context_saves(res) = NULL; sexp_context_params(res) = SEXP_NULL; sexp_context_last_fp(res) = 0; +#if SEXP_USE_TIME_GC + sexp_context_gc_count(res) = 0; sexp_context_gc_usecs(res) = 0; +#endif sexp_context_tracep(res) = 0; sexp_context_timeoutp(res) = 0; sexp_context_tailp(res) = 1;