1
0
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:
Zeno Rogue 2019-08-21 00:08:54 +02:00
parent 313bfa2829
commit 86d3e8f4b1

View File

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