Try skipping step 6
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
239b6a1954
commit
55b4ad8be7
2 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,6 @@
|
||||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
* 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
|
#pragma once
|
||||||
|
|
||||||
#ifdef HEADLESS
|
#ifdef HEADLESS
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,11 @@ static inline void printf() {}
|
||||||
# define printf STDIO_OVERRIDE_MACRO(STDIO_OVERRIDE, printf)
|
# define printf STDIO_OVERRIDE_MACRO(STDIO_OVERRIDE, printf)
|
||||||
|
|
||||||
// step 6: place the macro prefixed names in std namespace
|
// step 6: place the macro prefixed names in std namespace
|
||||||
|
/*
|
||||||
namespace std {
|
namespace std {
|
||||||
using ::printf;
|
using ::printf;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// extra, there might be warnings for GCC format attribute, ignore those
|
// extra, there might be warnings for GCC format attribute, ignore those
|
||||||
#pragma GCC diagnostic ignored "-Wformat"
|
#pragma GCC diagnostic ignored "-Wformat"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue