summaryrefslogtreecommitdiff
path: root/include/ruby/internal/arithmetic/uid_t.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-11 19:12:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-11 21:13:45 +0900
commit66a844fd07ca0fd652a20a1973ea242422d4ae6d (patch)
treeb2299132d3e53274abb756e2a3eaa517676e7cbb /include/ruby/internal/arithmetic/uid_t.h
parent72549cfe98a16097bb34256a8b6e75845027345b (diff)
Define printf qualifier prefix fallbacks
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4050
Diffstat (limited to 'include/ruby/internal/arithmetic/uid_t.h')
-rw-r--r--include/ruby/internal/arithmetic/uid_t.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/internal/arithmetic/uid_t.h b/include/ruby/internal/arithmetic/uid_t.h
index bdcf42f049..a990b2f480 100644
--- a/include/ruby/internal/arithmetic/uid_t.h
+++ b/include/ruby/internal/arithmetic/uid_t.h
@@ -31,4 +31,8 @@
# define NUM2UIDT RB_NUM2LONG
#endif
+#ifndef PRI_UIDT_PREFIX
+# define PRI_UIDT_PREFIX PRI_LONG_PREFIX
+#endif
+
#endif /* RBIMPL_ARITHMETIC_UID_T_H */