mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Fix bad C89 XSNPRINTF remap.
This commit is contained in:
@@ -832,7 +832,7 @@ typedef struct w64wrapper {
|
||||
#include <stdio.h>
|
||||
#define XSPRINTF sprintf
|
||||
/* snprintf not available for C89, so remap using macro */
|
||||
#define XSNPRINTF(f, len, ...) sprintf(f, ...)
|
||||
#define XSNPRINTF(f, len, ...) sprintf(f, __VA_ARGS__)
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#define XSNPRINTF snprintf
|
||||
|
Reference in New Issue
Block a user