diff options
Diffstat (limited to 'src/portab')
| -rw-r--r-- | src/portab/portab.h | 2 | ||||
| -rw-r--r-- | src/portab/vsnprintf.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h index 43f2f907..ebe81b49 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -19,6 +19,8 @@ #include "config.h" +/* remove assert() macro at compile time if DEBUG is not set. */ + #ifndef DEBUG # define NDEBUG #endif diff --git a/src/portab/vsnprintf.c b/src/portab/vsnprintf.c index 4c65db1f..d3b2a888 100644 --- a/src/portab/vsnprintf.c +++ b/src/portab/vsnprintf.c @@ -45,7 +45,7 @@ * probably requires libm on most operating systems. Don't yet * support the exponent (e,E) and sigfig (g,G). Also, fmtint() * was pretty badly broken, it just wasn't being exercised in ways - * which showed it, so that's been fixed. Also, formated the code + * which showed it, so that's been fixed. Also, formatted the code * to mutt conventions, and removed dead code left over from the * original. Also, there is now a builtin-test, just compile with: * gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm |