shithub: sl

Download patch

ref: c6eb7461c6f1d7b62a5740b6225f978ae3f4522e
parent: 4b75c6aaf9a17788f78215072027f53b04d727e7
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Jan 22 13:37:46 EST 2025

fix plan 9 build: define isinf

--- a/plan9/platform.h
+++ b/plan9/platform.h
@@ -50,6 +50,7 @@
 #define unsetenv(name) putenv(name, "")
 #define setenv(name, val, overwrite) putenv(name, val)
 #define exit(x) exits((x) ? "error" : nil)
+#define isinf(x) isInf(x, 0)
 #define isnan(x) isNaN(x)
 
 #define getcwd getwd