aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-28 18:12:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-28 18:12:02 -0400
commit85ef4c7e04b346163663b3a2c644d129a915449e (patch)
tree32e603f548940a999d684c6151b1944545d6216b
parent72d2cad85e92cb4585df60778373ca49c0104146 (diff)
Fix printf specifiers on mac
-rw-r--r--src/stdlib/print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/print.h b/src/stdlib/print.h
index 5cbfbdbd..41b316e6 100644
--- a/src/stdlib/print.h
+++ b/src/stdlib/print.h
@@ -85,7 +85,7 @@ typedef struct {
} quoted_t;
#define quoted(s) ((quoted_t){s})
-#ifdef __OpenBSD__
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define FMT64 "ll"
#else
#define FMT64 "l"