Hi,

Small cosmetic refactor.  Applicable to both C5 and C6.

All the best.
Mario
-- 
https://parenteses.org/mario
>From 574f8dc4b6c6f4645101594622c09d3fa08ef8c4 Mon Sep 17 00:00:00 2001
From: Mario Domenech Goulart <[email protected]>
Date: Sun, 30 Nov 2025 16:14:15 +0100
Subject: [PATCH] csc.scm: Make use of the already defined windows variable

---
 csc.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csc.scm b/csc.scm
index 90f95d4f..4b2a5bfb 100644
--- a/csc.scm
+++ b/csc.scm
@@ -928,7 +928,7 @@ EOF
 	 (set! generated-object-files (cons fo generated-object-files))
 	 (set! ofiles (cons fo ofiles))))
      c-files)
-    (when (and generate-manifest (eq? 'windows (software-type)))
+    (when (and generate-manifest windows)
       (let ((rcf (pathname-replace-extension target-filename "rc")))
 	(create-win-manifest (pathname-file target-filename) rcf)
 	(set! rc-files (cons rcf rc-files))
-- 
2.47.3

Reply via email to