msdos build correction
ENHANCED_SYMBOLS is defined by default in config.h. The msdos build tried to #undef ENHANCED_SYMBOLS in tilemap.c, but doing it in there created a mismatch between the data struct definition for glyph_map in wintype.h and the initializers generated in tilemap.c Move the msdos build catch for ENHANCED_SYMBOLS to one single place in config1.h so that the code and data agree.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
*/
|
||||
|
||||
#include "hack.h"
|
||||
#include "wintty.h"
|
||||
|
||||
#ifndef STUBVIDEO
|
||||
#include "pcvideo.h"
|
||||
@@ -88,6 +89,14 @@ get_scr_size(void)
|
||||
txt_get_scr_size();
|
||||
}
|
||||
|
||||
#ifdef ENHANCED_SYMBOLS
|
||||
void g_pututf8(uint8 *utf8str)
|
||||
{
|
||||
/* not implemented for msdos (yet) */
|
||||
nhUse(utf8str);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------
|
||||
* The rest of this file is only compiled if NO_TERMS is defined.
|
||||
|
||||
Reference in New Issue
Block a user