diff --git a/scripts/data_files/error.fmt b/scripts/data_files/error.fmt index e9dd74124..9f8368126 100644 --- a/scripts/data_files/error.fmt +++ b/scripts/data_files/error.fmt @@ -31,6 +31,10 @@ HEADER_INCLUDED #include +#if defined _MSC_VER && !defined snprintf +#define snprintf _snprintf +#endif + void error_strerror( int ret, char *buf, size_t buflen ) { size_t len;