From e11c7e4b1cdcde1f1bd7013c5ea055e2656d6fcb Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 3 Feb 2002 16:47:35 +0100 Subject: [PATCH] Fixed a problem with the ERR macro defined by ncurses.h --- CONTRIBUTORS | 1 + HISTORY | 2 ++ dvbapi.h | 3 ++- dvbosd.h | 3 ++- tools.c | 3 ++- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 42a8a403..e0b9ee1c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -137,6 +137,7 @@ Matjaz Thaler Artur Skawina for improving the font file generation in the Makefile + for pointing out a problem with the ERR macro defined by ncurses.h Werner Fink for making I/O more robust by handling EINTR diff --git a/HISTORY b/HISTORY index c182eeaa..bf8ce2c9 100644 --- a/HISTORY +++ b/HISTORY @@ -967,3 +967,5 @@ Video Disk Recorder Revision History (driver bug?). Note, though, that since VDR is mainly a *video recorder*, some features like, e. g., the progress display, may not work as expected with radio recordings. Thanks to Michael Paar. +- Fixed a problem with the ERR macro defined by ncurses.h (thanks to Artur + Skawina). diff --git a/dvbapi.h b/dvbapi.h index 73375719..fbc1e9d9 100644 --- a/dvbapi.h +++ b/dvbapi.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.h 1.60 2002/01/26 13:01:16 kls Exp $ + * $Id: dvbapi.h 1.61 2002/02/03 16:43:38 kls Exp $ */ #ifndef __DVBAPI_H @@ -12,6 +12,7 @@ #if defined(DEBUG_OSD) || defined(REMOTE_KBD) #include +#undef ERR //XXX ncurses defines this - but this clashes with newer system header files #endif #include // FIXME: this is apparently necessary for the ost/... header files // FIXME: shouldn't every header file include ALL the other header diff --git a/dvbosd.h b/dvbosd.h index 0c2b2115..0e90414c 100644 --- a/dvbosd.h +++ b/dvbosd.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbosd.h 1.9 2002/01/13 15:48:00 kls Exp $ + * $Id: dvbosd.h 1.10 2002/02/03 16:43:50 kls Exp $ */ #ifndef __DVBOSD_H @@ -12,6 +12,7 @@ #if defined(DEBUG_OSD) || defined(REMOTE_KBD) #include +#undef ERR //XXX ncurses defines this - but this clashes with newer system header files #endif #include #include diff --git a/tools.c b/tools.c index f55935bd..441c5ce8 100644 --- a/tools.c +++ b/tools.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.55 2002/02/03 13:35:38 kls Exp $ + * $Id: tools.c 1.56 2002/02/03 16:44:08 kls Exp $ */ #include "tools.h" @@ -13,6 +13,7 @@ #include #if defined(DEBUG_OSD) #include +#undef ERR //XXX ncurses defines this - but this clashes with newer system header files #endif #include #include