From bc86389e1fd7c1eb6ea517a40a1e27274065c739 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 16 Apr 1999 11:36:51 +0000 Subject: [PATCH] nasty powerpc kludge is only needed for glibc 2.0 --- pppstats/pppstats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index 78cc370..2881f04 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.25 1999/04/16 11:36:51 paulus Exp $"; #endif #include @@ -49,7 +49,8 @@ static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $"; #include #ifndef STREAMS -#if defined(_linux_) && defined(__powerpc__) +#if defined(_linux_) && defined(__powerpc__) \ + && (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) /* kludge alert! */ #undef __GLIBC__ #endif -- 2.39.2