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