summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorchatty1996-03-21 13:14:13 +0000
committerchatty1996-03-21 13:14:13 +0000
commitd734491af905a58a330dbcd1bffa67645b1c08ed (patch)
treee4cb8d349d0ed1496c48ae8a7652790001a33b14 /utils
parent0780f8194993bd3f182250d2df9e27e65c8c042f (diff)
downloadivy-league-d734491af905a58a330dbcd1bffa67645b1c08ed.zip
ivy-league-d734491af905a58a330dbcd1bffa67645b1c08ed.tar.gz
ivy-league-d734491af905a58a330dbcd1bffa67645b1c08ed.tar.bz2
ivy-league-d734491af905a58a330dbcd1bffa67645b1c08ed.tar.xz
Use POSIX regexps on Solaris
Diffstat (limited to 'utils')
-rw-r--r--utils/RegExp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/RegExp.h b/utils/RegExp.h
index 20451f0..ac1321d 100644
--- a/utils/RegExp.h
+++ b/utils/RegExp.h
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1991 - 1994
+ * Copyright 1991 - 1996
* Laboratoire de Recherche en Informatique (LRI)
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
@@ -11,7 +11,6 @@
*
* $Id$
* $CurLog$
- * Removed pragma interfaces
*/
#ifndef RegExp_H_
@@ -20,10 +19,10 @@
#include "cplus_bugs.h"
#include "bool.h"
-#ifdef __hpux /* POSIX */
+#if defined(__hpux) || (defined (sun) && defined (__svr4__)) /* POSIX */
#define REGCOMP
#else
-#if !defined(sun) || !defined(__svr4__)
+#if 1 /* I'm not aware of systems that use regcmp anymore */
#define RE_COMP
#endif
#endif