changeset 526:09a301dc9c79

Apply the usual REL_ALLOC patch.
author Jim Meyering <jim@meyering.net>
date Fri, 15 Dec 1995 15:34:07 +0000
parents f7bfb71be62a
children c6cca2ddbf8d
files lib/regex.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -2921,7 +2921,9 @@
 
   /* This holds the pointer to the failure stack, when
      it is allocated relocatably.  */
+#ifdef REL_ALLOC
   fail_stack_elt_t *failure_stack_ptr;
+#endif
 
   /* Assume that each path through the pattern can be null until
      proven otherwise.  We set this false at the bottom of switch
@@ -3586,7 +3588,9 @@
 
   /* This holds the pointer to the failure stack, when
      it is allocated relocatably.  */
+#ifdef REL_ALLOC
   fail_stack_elt_t *failure_stack_ptr;
+#endif
 
   /* We fill all the registers internally, independent of what we
      return, for use in backreferences.  The number here includes