diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-11 19:12:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-11 21:13:45 +0900 |
commit | 66a844fd07ca0fd652a20a1973ea242422d4ae6d (patch) | |
tree | b2299132d3e53274abb756e2a3eaa517676e7cbb /include/ruby/internal/arithmetic/uid_t.h | |
parent | 72549cfe98a16097bb34256a8b6e75845027345b (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.h | 4 |
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 */ |