Skip to content

Commit

Permalink
img: Re-enable use of snprintf
Browse files Browse the repository at this point in the history
I'd disabled it for testing that the fallback case worked, then
failed to undo that.
  • Loading branch information
ojwb committed Mar 12, 2024
1 parent 3047c7d commit 9b014c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/img.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
# define UINT32_T unsigned long
# endif
# endif
# if 0 /*defined HAVE_SNPRINTF || \
# if defined HAVE_SNPRINTF || \
(defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
(defined __cplusplus && __cplusplus >= 201103L) */
(defined __cplusplus && __cplusplus >= 201103L)
# define SNPRINTF snprintf
# else
# define SNPRINTF my_snprintf
Expand Down

0 comments on commit 9b014c4

Please sign in to comment.