Skip to content

Commit 7545457

Browse files
committed
MSC wolfBoot_print
1 parent 0e078c4 commit 7545457

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/printf.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
# elif defined(WOLFBOOT_LOG_PRINTF)
6767
/* allow output to stdout */
6868
# 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)
6972
# else
7073
/* use stderr by default */
7174
# define wolfBoot_printf(_f_, ...) fprintf(stderr, _f_, ##__VA_ARGS__)

0 commit comments

Comments
 (0)