Browse Source

Try skipping step 6

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
55b4ad8be7
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +0
    -2
      include/GL/gl.h
  2. +2
    -0
      include/mingw-compat/cstdio

+ 0
- 2
include/GL/gl.h View File

@@ -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


+ 2
- 0
include/mingw-compat/cstdio View File

@@ -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"


Loading…
Cancel
Save