summaryrefslogtreecommitdiff
path: root/include/ruby/internal/arithmetic/pid_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/arithmetic/pid_t.h')
-rw-r--r--include/ruby/internal/arithmetic/pid_t.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/internal/arithmetic/pid_t.h b/include/ruby/internal/arithmetic/pid_t.h
index eaca402776..86373ebfde 100644
--- a/include/ruby/internal/arithmetic/pid_t.h
+++ b/include/ruby/internal/arithmetic/pid_t.h
@@ -31,4 +31,8 @@
# define NUM2PIDT RB_NUM2LONG
#endif
+#ifndef PRI_PIDT_PREFIX
+# define PRI_PIDT_PREFIX PRI_LONG_PREFIX
+#endif
+
#endif /* RBIMPL_ARITHMETIC_PID_T_H */