Skip to content

Commit 198069f

Browse files
committed
[c89stringutils/c89stringutils_string_extras.c] Fix *BSD support
1 parent f027bee commit 198069f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

c89stringutils/c89stringutils_string_extras.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232

3333
#else
3434

35+
#ifdef ANY_BSD
36+
#define vsnprintf _vsnprintf
37+
#endif /* !ANY_BSD */
3538

3639
inline int snprintf(char *buffer, size_t count, const char *format, ...) {
3740
int result;

0 commit comments

Comments
 (0)