summaryrefslogtreecommitdiff
path: root/include/ruby/internal/arithmetic/gid_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/arithmetic/gid_t.h')
-rw-r--r--include/ruby/internal/arithmetic/gid_t.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/internal/arithmetic/gid_t.h b/include/ruby/internal/arithmetic/gid_t.h
index 32e3578bd2..094fc63092 100644
--- a/include/ruby/internal/arithmetic/gid_t.h
+++ b/include/ruby/internal/arithmetic/gid_t.h
@@ -31,4 +31,8 @@
# define NUM2GIDT RB_NUM2LONG
#endif
+#ifndef PRI_GIDT_PREFIX
+# define PRI_GIDT_PREFIX PRI_LONG_PREFIX
+#endif
+
#endif /* RBIMPL_ARITHMETIC_GID_T_H */