mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Reuse natstr
if it equals endstr
This commit is contained in:
parent
b459bca0a6
commit
232e401b0f
1 changed files with 2 additions and 1 deletions
3
pack.c
3
pack.c
|
@ -36,10 +36,11 @@
|
|||
*/
|
||||
#ifdef HAVE_TRUE_LONG_LONG
|
||||
static const char natstr[] = "sSiIlLqQjJ";
|
||||
# define endstr natstr
|
||||
#else
|
||||
static const char natstr[] = "sSiIlLjJ";
|
||||
#endif
|
||||
static const char endstr[] = "sSiIlLqQjJ";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TRUE_LONG_LONG
|
||||
/* It is intentional to use long long instead of LONG_LONG. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue