We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e078c4 commit 7545457Copy full SHA for 7545457
include/printf.h
@@ -66,6 +66,9 @@
66
# elif defined(WOLFBOOT_LOG_PRINTF)
67
/* allow output to stdout */
68
# define wolfBoot_printf(_f_, ...) printf(_f_, ##__VA_ARGS__)
69
+# elif defined(_MSC_VER)
70
+# include <stdio.h>
71
+# define wolfBoot_printf(...) do { fprintf(stderr, __VA_ARGS__); } while (0)
72
# else
73
/* use stderr by default */
74
# define wolfBoot_printf(_f_, ...) fprintf(stderr, _f_, ##__VA_ARGS__)
0 commit comments