mirror of
https://github.com/json-c/json-c.git
synced 2026-03-25 07:59:07 +08:00
Merge pull request #803 from yrashk/patch-2
Problem: confusing error message in snprintf_compat.h
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user