From 468fbf84b069b0444bd765309bf7768f0fc7f770 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 5 Dec 2021 17:54:18 +0000 Subject: [PATCH] Fix previous commit Signed-off-by: falkTX --- include/mingw-compat/stdio.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/include/mingw-compat/stdio.h b/include/mingw-compat/stdio.h index 69192a1..ea67f0d 100644 --- a/include/mingw-compat/stdio.h +++ b/include/mingw-compat/stdio.h @@ -26,15 +26,10 @@ # define STDIO_OVERRIDE_HELPER(NS, SEP, FN) NS ## SEP ## FN # define STDIO_OVERRIDE_MACRO(NS, FN) STDIO_OVERRIDE_HELPER(NS, _, FN) -// step 1: prefix the needed stdio functions +// prefix the needed stdio functions # define printf STDIO_OVERRIDE_MACRO(STDIO_OVERRIDE, printf) -// step 2: inlude which will use our prefixed names -# include - -#else // STDIO_OVERRIDE - -// if STDIO_OVERRIDE is not defined, we have nothing to do -# include_next - #endif // STDIO_OVERRIDE + +// now just include the real stdio.h +#include_next