From ef9195ac63f3fef20742f98096f65fe7e0ed66ff Mon Sep 17 00:00:00 2001 From: chatty Date: Wed, 18 May 1994 09:52:14 +0000 Subject: Ported to Solaris --- utils/RegExp.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'utils/RegExp.h') diff --git a/utils/RegExp.h b/utils/RegExp.h index c46431c..85c9853 100644 --- a/utils/RegExp.h +++ b/utils/RegExp.h @@ -3,7 +3,7 @@ * * by Stephane Chatty * - * Copyright 1991, 1992 + * Copyright 1991 - 1994 * Laboratoire de Recherche en Informatique (LRI) * Centre d'Etudes de la Navigation Aerienne (CENA) * @@ -16,14 +16,20 @@ #ifndef RegExp_H_ #define RegExp_H_ +#ifdef __GNUG__ +#pragma interface +#endif + #include "cplus_bugs.h" #include "bool.h" -#ifdef __hpux +#ifdef __hpux /* POSIX */ #define REGCOMP #else +#if !defined(sun) || !defined(__svr4__) #define RE_COMP #endif +#endif #ifdef REGCOMP @@ -78,4 +84,3 @@ inline const char* GetExpr () { return String; } #endif /* !REGCOMP && !RE_COMP */ #endif /* RegExp_H_ */ - -- cgit v1.1