summaryrefslogtreecommitdiff
path: root/srfi/srfi-18.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-09-09 22:03:42 +0200
committerLudovic Courtès <ludo@gnu.org>2008-09-09 22:03:42 +0200
commit53f4876abcebf3f05d2a88bba3a898ddcda25a74 (patch)
tree7413b4f4ab565e4784f26ee347e2a1ff46ea467e /srfi/srfi-18.scm
parent69f23174d313650ca8fb0f69ede45c48d7a26b05 (diff)
parent242ebeaf083cc43a9df18ac4436178d9b3ff66e5 (diff)
downloadguile-53f4876abcebf3f05d2a88bba3a898ddcda25a74.tar.gz
Merge branch 'master' into strftime-gnulib
Conflicts: libguile/ChangeLog srfi/ChangeLog test-suite/ChangeLog
Diffstat (limited to 'srfi/srfi-18.scm')
-rw-r--r--srfi/srfi-18.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/srfi/srfi-18.scm b/srfi/srfi-18.scm
index 0593f4ef8..925ecb304 100644
--- a/srfi/srfi-18.scm
+++ b/srfi/srfi-18.scm
@@ -89,6 +89,9 @@
make-condition-variable
raise))
+(if (not (provided? 'threads))
+ (error "SRFI-18 requires Guile with threads support"))
+
(cond-expand-provide (current-module) '(srfi-18))
(define (check-arg-type pred arg caller)