changed ambiguous code in lib/fmt.c

This commit is contained in:
hyung-hwan 2020-07-10 14:52:29 +00:00
parent 51b52ca844
commit 64b8a5b1ef

View File

@ -1095,7 +1095,7 @@ static int fmt_outv (hcl_fmtout_t* fmtout, va_list ap)
sign = 0; sign = 0;
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
#if defined(__GNUC__) && \ #if 0 && defined(__GNUC__) && \
(HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T) && \ (HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \ (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG) (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG)
@ -1139,7 +1139,7 @@ static int fmt_outv (hcl_fmtout_t* fmtout, va_list ap)
handle_sign: handle_sign:
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
#if defined(__GNUC__) && \ #if 0 && defined(__GNUC__) && \
(HCL_SIZEOF_INTMAX_T > HCL_SIZEOF_OOI_T) && \ (HCL_SIZEOF_INTMAX_T > HCL_SIZEOF_OOI_T) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \ (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG) (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG)