]> granicus.if.org Git - nethack/commitdiff
Revert "some follow-up for MSDOS build"
authornhmall <nhmall@nethack.org>
Sat, 7 May 2022 18:34:06 +0000 (14:34 -0400)
committernhmall <nhmall@nethack.org>
Sat, 7 May 2022 18:34:06 +0000 (14:34 -0400)
This reverts commit 36d3b6432614315b81eeb5b300b3a98265acc016.

include/config.h
win/share/tilemap.c
win/tty/wintty.c

index f066c02d96dcdf81712b9b9307e3d71379f423de..9c59cb9eb99580b4571e6b1891e78c6b4379bc1d 100644 (file)
@@ -661,10 +661,6 @@ typedef unsigned char uchar;
 # endif
 #endif
 
-#if defined(MSDOS) && defined(ENHANCED_SYMBOLS)
-#undef ENHANCED_SYMBOLS
-#endif
-
 #include "integer.h"
 #include "global.h" /* Define everything else according to choices above */
 
index b9464191dd86bab2fc8af2fc978a28843a915e0a..02ec1ffe4e5f3eef313c143e980a5dd4a77d1e08 100644 (file)
@@ -54,10 +54,6 @@ extern void exit(int);
 #endif
 #endif
 
-#if defined(CROSSCOMPILE) && defined(ENHANCED_SYMBOLS)
-#undef ENHANCED_SYMBOLS
-#endif
-
 struct {
     int idx;
     const char *tilelabel;
index b54b8985f92e7279de75af82e425ffc70e4c5ad4..b4494385b781980fb5035dee78a05ae96542d591 100644 (file)
@@ -3417,10 +3417,6 @@ g_putch(int in_ch)
     return;
 }
 
-
-#if !defined(NO_TERMS) && !defined(WIN32)
-#ifdef ENHANCED_SYMBOLS
-
 void
 g_pututf8(uint8 *utf8str)
 {
@@ -3431,8 +3427,7 @@ g_pututf8(uint8 *utf8str)
     }
     return;
 }
-#endif
-#endif /* !NO_TERMS && !WIN32 */
+#endif /* !WIN32 */
 
 #ifdef CLIPPING
 void
@@ -3547,10 +3542,10 @@ tty_print_glyph(winid window, xchar x, xchar y,
             if (color != NO_COLOR)
                 term_start_color(color);
 #endif /* TEXTCOLOR */
+#if !defined(NO_TERMS) || defined(WIN32)
         }
 #endif
-    }
-    /* iflags.use_color aka iflags.wc_color */
+    }   /* iflags.use_color aka iflags.wc_color */
     /* must be after color check; term_end_color may turn off inverse too;
        BW_LAVA and BW_ICE won't ever be set when color is on;
        (tried bold for ice but it didn't look very good; inverse is easier