summaryrefslogtreecommitdiff
path: root/include/ruby/internal/arithmetic/uid_t.h
diff options
context:
space:
mode:
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 */