Mercurial > hg > th-libs
diff th_printf1.c @ 765:c9a6fe116453
Invert some preprocessor conditions for clarity.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 10 Feb 2023 01:03:22 +0200 |
parents | 31bc1ed07cf5 |
children |
line wrap: on
line diff
--- a/th_printf1.c Thu Feb 09 23:59:00 2023 +0200 +++ b/th_printf1.c Fri Feb 10 01:03:22 2023 +0200 @@ -10,7 +10,7 @@ int TH_VPRINTF_INTFMT_NAME (char *buf, const int len, int *pos, TH_VPRINTF_INTFMT_TYPE_S pval, const int f_radix, const bool f_upcase, const bool f_unsig, bool *f_neg) -#ifdef TH_VPRINTF_INTFMT_HEADER +#ifndef TH_VPRINTF_INTFMT_IMPL ; #else { @@ -61,4 +61,3 @@ #undef TH_VPRINTF_INTFMT_SIGNED #undef TH_VPRINTF_INTFMT_TYPE_S #undef TH_VPRINTF_INTFMT_TYPE_U -#undef TH_VPRINTF_INTFMT_HEADER