From b504500f4930ccfc397c881d8a3fcdcb8595e44f Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 14 Jun 2001 15:59:52 +0000 Subject: [PATCH] * text.c [HAVE_X]: Remove useless #error. * cons.saver.c: Indent #error to hide it from old compilers. --- src/ChangeLog | 5 +++++ src/cons.saver.c | 2 +- src/text.c | 4 ---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 49b5755bb..a028b3877 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-06-14 Pavel Roskin + + * text.c [HAVE_X]: Remove useless #error. + * cons.saver.c: Indent #error to hide it from old compilers. + 2001-06-13 Pavel Roskin * screen.c (display_mini_info): Avoid nested i18n calls. diff --git a/src/cons.saver.c b/src/cons.saver.c index 1d5e5c25f..c5bd5731d 100644 --- a/src/cons.saver.c +++ b/src/cons.saver.c @@ -415,6 +415,6 @@ int main (int argc, char **argv) #else -#error The Linux console screen saver works only on Linux. + #error "The Linux console screen saver works only on Linux" #endif /* #ifdef linux */ diff --git a/src/text.c b/src/text.c index be9817dbc..e8116a180 100644 --- a/src/text.c +++ b/src/text.c @@ -5,10 +5,6 @@ */ #include -#ifdef HAVE_X -#error This file is for text-mode editions only. -#endif - #include #define WANT_WIDGETS