From f4526f7fc809483d8c9a09695e177d19a7122235 Mon Sep 17 00:00:00 2001 From: Kris Katterjohn Date: Wed, 8 Jul 2020 15:36:21 -0400 Subject: [PATCH] (chibi filesystem): conditionalize chown to fix Windows build --- lib/chibi/filesystem.stub | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/chibi/filesystem.stub b/lib/chibi/filesystem.stub index fe46138b..25ab5fba 100644 --- a/lib/chibi/filesystem.stub +++ b/lib/chibi/filesystem.stub @@ -269,7 +269,9 @@ ;;> Sets the file owner and group as in chown. -(define-c int chown (string uid_t gid_t)) +(cond-expand + ((not windows) + (define-c int chown (string uid_t gid_t)))) ;;> Returns \scheme{#t} if the given port of file descriptor ;;> if backed by a TTY object, and \scheme{#f} otherwise.