зеркало из https://github.com/github/ruby.git
Define printf qualifier prefix fallbacks
This commit is contained in:
Родитель
72549cfe98
Коммит
66a844fd07
|
@ -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 */
|
||||
|
|
|
@ -31,4 +31,8 @@
|
|||
# define MODET2NUM RB_INT2NUM
|
||||
#endif
|
||||
|
||||
#ifndef PRI_MODET_PREFIX
|
||||
# define PRI_MODET_PREFIX PRI_INT_PREFIX
|
||||
#endif
|
||||
|
||||
#endif /* RBIMPL_ARITHMETIC_MODE_T_H */
|
||||
|
|
|
@ -46,4 +46,14 @@
|
|||
# define NUM2OFFT RB_NUM2INT
|
||||
#endif
|
||||
|
||||
#ifdef PRI_OFFT_PREFIX
|
||||
# /* take that. */
|
||||
#elif SIZEOF_OFF_T == SIZEOF_LONG_LONG
|
||||
# define PRI_OFFT_PREFIX PRI_LL_PREFIX
|
||||
#elif SIZEOF_OFF_T == SIZEOF_LONG
|
||||
# define PRI_OFFT_PREFIX PRI_LONG_PREFIX
|
||||
#else
|
||||
# define PRI_OFFT_PREFIX PRI_INT_PREFIX
|
||||
#endif
|
||||
|
||||
#endif /* RBIMPL_ARITHMETIC_OFF_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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче