summaryrefslogtreecommitdiff
path: root/srfi/srfi-18.scm
diff options
context:
space:
mode:
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)