Fix include-shared for process

`chibi-genstatic` doesn't support expansion of `cond-expand` when the pattern is `(cond-expand (cond) (else (include-shared "module")))`
This commit is contained in:
v01dXYZ 2019-07-24 11:10:04 +00:00 committed by GitHub
parent b3831c3995
commit 94ca5a95ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,5 +19,5 @@
process->output+error process->output+error+status) process->output+error process->output+error+status)
(import (chibi) (chibi io) (chibi string) (chibi filesystem)) (import (chibi) (chibi io) (chibi string) (chibi filesystem))
(cond-expand (threads (import (srfi 18) (srfi 151))) (else #f)) (cond-expand (threads (import (srfi 18) (srfi 151))) (else #f))
(cond-expand (windows) (else (include-shared "process"))) (cond-expand ((not windows) (include-shared "process")))
(include "process.scm")) (include "process.scm"))