mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Cond-expand out threading code to load leap-second table dynamically when threads are disabled.
This commit is contained in:
parent
738cb3ac9a
commit
d13aa7c4f2
1 changed files with 8 additions and 1 deletions
|
@ -16,7 +16,14 @@
|
|||
(import (scheme read))
|
||||
(import (scheme process-context))
|
||||
|
||||
(import (srfi 18))
|
||||
(cond-expand
|
||||
(threads
|
||||
(import (srfi 18)))
|
||||
(else
|
||||
(begin
|
||||
(define (make-thread thunk) #f)
|
||||
(define (thread-start! th) #f)
|
||||
(define (thread-sleep! secs) #f))))
|
||||
|
||||
(cond-expand
|
||||
(chibi
|
||||
|
|
Loading…
Add table
Reference in a new issue