Skip to content

Commit

Permalink
Merge pull request json-c#803 from yrashk/patch-2
Browse files Browse the repository at this point in the history
Problem: confusing error message in snprintf_compat.h
  • Loading branch information
hawicz authored Dec 27, 2022
2 parents b6ba942 + 7b971b5 commit 6ec5e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snprintf_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 6ec5e58

Please sign in to comment.