Skip to content

Commit

Permalink
Add missing include for older MSVC versions
Browse files Browse the repository at this point in the history
  • Loading branch information
schellingb committed Dec 23, 2023
1 parent a451420 commit 69d5c59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/cross.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#if _MSC_VER <= 1310
#error _vscprintf and _vsnprintf_s not available
#endif
#include <stdarg.h>
#define snprintf c99_snprintf
#define vsnprintf c99_vsnprintf
static inline int c99_vsnprintf(char *s, size_t sz, const char *fmt, va_list ap)
Expand Down

0 comments on commit 69d5c59

Please sign in to comment.