mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed non-extern variable
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue