shithub: femtolisp

Download patch

ref: 1639dd6badc1c236034e3cac5b4da2f209b040a0
parent: b215b13501aa7fa867877122fe5c24ba45b3bbba
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Nov 12 22:30:12 EST 2024

plan9: add PRIu32 used in *vm-stats*

--- a/plan9/platform.h
+++ b/plan9/platform.h
@@ -43,6 +43,7 @@
 #define signbit(r) ((*(uint64_t*)&(r)) & BIT63)
 #define isfinite(d) (((*(uint64_t*)&(d))&0x7ff0000000000000ULL) != 0x7ff0000000000000ULL)
 
+#define PRIu32 "ud"
 #define PRId64 "lld"
 #define PRIu64 "llud"
 #ifdef BITS64