Unnecessary quotes in config.h.in
eyalroz opened this issue · comments
Eyal Rozenberg commented
Here's a snippet from src/config.h.in
:
#if (@SIZEOF_LONG_LONG@ == 8)
#define SIGNED_64_BIT_C_TYPE long long
#define SIGNED_64_BIT_PRINTF_MODIFIER "ll"
#else
#if (@SIZEOF_SHORT@ == "8")
#define SIGNED_64_BIT_C_TYPE short
#define SIGNED_64_BIT_PRINTF_MODIFIER "s"
The second comparison is a bug. @SIZEOF_SHORT@
should not be a quoted string. Let's make such lines (there are two in the file) use actual values, not quoted strings.
First noticed by @valco1994 .