diff options
author | Eric Hawicz <erh+git@nimenees.com> | 2022-12-27 09:26:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 09:26:30 -0500 |
commit | 6ec5e5842d599a7e9414f9626e5e56c6a5b3bf9b (patch) | |
tree | 72a68fb469efa73cf197cf970c1c4c9807d4bf77 | |
parent | b6ba9429d09448f0d180377826fec0287a89c84a (diff) | |
parent | 7b971b52aae602c733ba6bff8152cbdb486b54a1 (diff) | |
download | json-c-6ec5e5842d599a7e9414f9626e5e56c6a5b3bf9b.tar.gz |
Merge pull request #803 from yrashk/patch-2
Problem: confusing error message in snprintf_compat.h
-rw-r--r-- | snprintf_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snprintf_compat.h b/snprintf_compat.h index 76f7a6c..51fcb24 100644 --- a/snprintf_compat.h +++ b/snprintf_compat.h @@ -35,7 +35,7 @@ static int json_c_snprintf(char *str, size_t size, const char *format, ...) #define snprintf json_c_snprintf #elif !defined(HAVE_SNPRINTF) /* !HAVE_SNPRINTF */ -#error Need vsnprintf! +#error snprintf is required but was not found #endif /* !HAVE_SNPRINTF && defined(WIN32) */ #endif /* __snprintf_compat_h */ |