mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
fixed non-extern variable
This commit is contained in:
parent
313bfa2829
commit
86d3e8f4b1
@ -7,6 +7,8 @@
|
||||
|
||||
namespace hr {
|
||||
|
||||
EX FILE *debugfile;
|
||||
|
||||
#if HDR
|
||||
#define DF_INIT 1 // 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, ")");
|
||||
}
|
||||
|
||||
FILE *debugfile;
|
||||
|
||||
#ifndef SPECIAL_LOGGER
|
||||
inline void special_log(char c) { if(debugfile) fputc(c, debugfile); putchar(c); }
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user