aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib')
-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"