mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-04 13:19:20 +00:00
fixed non-extern variable
This commit is contained in:
parent
313bfa2829
commit
86d3e8f4b1
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
namespace hr {
|
namespace hr {
|
||||||
|
|
||||||
|
EX FILE *debugfile;
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
#define DF_INIT 1 // always display these
|
#define DF_INIT 1 // always display these
|
||||||
#define DF_MSG 2 // always display these
|
#define DF_MSG 2 // always display these
|
||||||
@ -194,8 +196,6 @@ template<class... T> void print(hstream& hs, const tuple<T...> & t) {
|
|||||||
print(hs, ")");
|
print(hs, ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE *debugfile;
|
|
||||||
|
|
||||||
#ifndef SPECIAL_LOGGER
|
#ifndef SPECIAL_LOGGER
|
||||||
inline void special_log(char c) { if(debugfile) fputc(c, debugfile); putchar(c); }
|
inline void special_log(char c) { if(debugfile) fputc(c, debugfile); putchar(c); }
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user