From 55b4ad8be70c3cc5eea4b34cd26d43d0c68db018 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 28 Oct 2021 19:32:48 +0100 Subject: [PATCH] Try skipping step 6 Signed-off-by: falkTX --- include/GL/gl.h | 2 -- include/mingw-compat/cstdio | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index 4450158..07b5953 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -15,8 +15,6 @@ * For a full copy of the GNU General Public License see the LICENSE file. */ -// this file matches the top of `OpenGL.hpp` provided by DPF - #pragma once #ifdef HEADLESS diff --git a/include/mingw-compat/cstdio b/include/mingw-compat/cstdio index 28cecb7..ed01637 100644 --- a/include/mingw-compat/cstdio +++ b/include/mingw-compat/cstdio @@ -44,9 +44,11 @@ static inline void printf() {} # define printf STDIO_OVERRIDE_MACRO(STDIO_OVERRIDE, printf) // step 6: place the macro prefixed names in std namespace +/* namespace std { using ::printf; } +*/ // extra, there might be warnings for GCC format attribute, ignore those #pragma GCC diagnostic ignored "-Wformat"