diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-10-06 13:53:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-10-06 16:33:44 +0900 |
commit | 232e401b0f19cb5191ae7a0ec107fc9bf10c8145 (patch) | |
tree | 05db72859d7bf26e47af3992be4250af68e35523 /pack.c | |
parent | b459bca0a62931143420db30e9ba5540cde48372 (diff) | |
download | ruby-232e401b0f19cb5191ae7a0ec107fc9bf10c8145.tar.gz |
Reuse `natstr` if it equals `endstr`
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |