diff options
Diffstat (limited to 'src/expat.sci')
-rw-r--r-- | src/expat.sci | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/expat.sci b/src/expat.sci index 6f729fd..19e48fe 100644 --- a/src/expat.sci +++ b/src/expat.sci @@ -1,5 +1,5 @@ ;;;; This file is part of Gamma. -*- scheme -*- -;;;; Copyright (C) 2010 Sergey Poznyakoff +;;;; Copyright (C) 2010, 2015 Sergey Poznyakoff ;;;; ;;;; Gamma is free software; you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -26,7 +26,8 @@ changequote([,])dnl xml-set-handler) :export-syntax (xml-error-descr)) -(use-syntax (ice-9 syncase)) +(if (= (string->number (major-version)) 1) + (use-syntax (ice-9 syncase))) (let ((lib-path "LIBDIR/")) (load-extension (string-append |