summaryrefslogtreecommitdiff
path: root/utils/RegExp.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/RegExp.h')
-rw-r--r--utils/RegExp.h11
1 files changed, 8 insertions, 3 deletions
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_ */
-