aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-04-23 00:35:28 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-04-23 00:35:28 +0200
commit5d060ffa6668faf30708165450719aae3507bfbe (patch)
tree4dce4c618b10308617ed5a0b932ccc2a75234c3f
parentabae42af13181ebb130cd570e1acf37f763dbde0 (diff)
downloadembedlog-5d060ffa6668faf30708165450719aae3507bfbe.tar.gz
embedlog-5d060ffa6668faf30708165450719aae3507bfbe.tar.bz2
embedlog-5d060ffa6668faf30708165450719aae3507bfbe.zip
fix: compilation error when using portable snprintf
-rw-r--r--src/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snprintf.c b/src/snprintf.c
index f26389c..ae36fff 100644
--- a/src/snprintf.c
+++ b/src/snprintf.c
@@ -411,7 +411,7 @@ int portable_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap);
/* declarations */
-#if !defined(HAVE_SNPRINTF)
+#if defined(PREFER_PORTABLE_SNPRINTF)
static char credits[] = "\n\
@(#)snprintf.c, v2.2: Mark Martinec, <mark.martinec@ijs.si>\n\
@(#)snprintf.c, v2.2: Copyright 1999, Mark Martinec. Frontier Artistic License applies.\n\