From 6a5d89669e1bd2a5c98e61504d73d58ace11c880 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 9 May 2016 08:44:41 +0100 Subject: configure: drop tests for ancient platforms Work on #2999. --- src/fallback.cpp | 8 -------- src/fallback.h | 8 -------- 2 files changed, 16 deletions(-) (limited to 'src') diff --git a/src/fallback.cpp b/src/fallback.cpp index a5cff93d..f5638e81 100644 --- a/src/fallback.cpp +++ b/src/fallback.cpp @@ -42,14 +42,6 @@ #include "fallback.h" // IWYU pragma: keep #include "util.h" // IWYU pragma: keep -#ifdef TPUTS_KLUDGE -int tputs(const char *str, int affcnt, int (*fish_putc)(tputs_arg_t)) { - while (*str) { - fish_putc(*str++); - } -} -#endif - #ifdef TPARM_SOLARIS_KLUDGE #undef tparm diff --git a/src/fallback.h b/src/fallback.h index 59eba224..97c72b77 100644 --- a/src/fallback.h +++ b/src/fallback.h @@ -57,14 +57,6 @@ struct winsize { #endif -#ifdef TPUTS_KLUDGE - -/// Linux on PPC seems to have a tputs implementation that sometimes behaves strangely. This -/// fallback seems to fix things. -int tputs(const char *str, int affcnt, int (*fish_putc)(tputs_arg_t)); - -#endif - #ifdef TPARM_SOLARIS_KLUDGE /// Solaris tparm has a set fixed of paramters in it's curses implementation, work around this here. #define tparm tparm_solaris_kludge -- cgit v1.2.3