From b9be3a45c0f503a0f26aa332f59d846e6e24e97a Mon Sep 17 00:00:00 2001 From: NIIMI Satoshi Date: Sun, 21 Oct 2007 23:25:35 +0000 Subject: [PATCH] 1.0.10.54: Fix build with old gcc Surround code fragment with braces for variable declarations. --- src/runtime/bsd-os.c | 18 ++++++++++-------- version.lisp-expr | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/runtime/bsd-os.c b/src/runtime/bsd-os.c index e764c3e..c31ea5d 100644 --- a/src/runtime/bsd-os.c +++ b/src/runtime/bsd-os.c @@ -384,14 +384,16 @@ static void freebsd_init() * x86-assem.S. */ #ifdef LISP_FEATURE_X86 - size_t len; - int instruction_sse; - - len = sizeof(instruction_sse); - if (sysctlbyname("hw.instruction_sse", &instruction_sse, &len, NULL, 0) == 0 - && instruction_sse != 0) { - /* Use the SSE detector */ - fast_bzero_pointer = fast_bzero_detect; + { + size_t len; + int instruction_sse; + + len = sizeof(instruction_sse); + if (sysctlbyname("hw.instruction_sse", &instruction_sse, &len, + NULL, 0) == 0 && instruction_sse != 0) { + /* Use the SSE detector */ + fast_bzero_pointer = fast_bzero_detect; + } } #endif /* LISP_FEATURE_X86 */ } diff --git a/version.lisp-expr b/version.lisp-expr index f39bf80..90eab03 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.10.53" +"1.0.10.54" -- 1.7.10.4