From d4bfcaf67b97aa121b6b0d39d770ec4b015ecb24 Mon Sep 17 00:00:00 2001 From: Mark Anderson Date: Thu, 13 Oct 1994 20:00:27 +0000 Subject: [PATCH] Clean up some inconsistencies which Alpha OSF/1 systems complained about (these changes have been fenced in by #ifdef __alpha, etc). --- src/toolsComm/flex/flexdef.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/toolsComm/flex/flexdef.h b/src/toolsComm/flex/flexdef.h index f9655deb7..19cf177d4 100644 --- a/src/toolsComm/flex/flexdef.h +++ b/src/toolsComm/flex/flexdef.h @@ -72,7 +72,7 @@ char *sprintf(); /* keep lint happy */ #ifdef SCO_UNIX void *memset(); #else -#if !defined(ultrix) && !defined(NeXT) && !defined(sgi) +#if !defined(ultrix) && !defined(NeXT) && !defined(sgi) && !defined(hppa) && !defined(__osf__) char *memset(); #endif #endif @@ -663,7 +663,11 @@ void *allocate_array(), *reallocate_array(); /* used to communicate between scanner and parser. The type should really * be YYSTYPE, but we can't easily get our hands on it. */ +#ifdef __alpha /* inconsistency with parse.y, line 57... on Alpha */ +extern long yylval; +#else extern int yylval; +#endif /* external functions that are cross-referenced among the flex source files */