aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/gnu-regex.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-01-20 18:25:12 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-01-20 18:25:12 +0000
commit52c207e293ff4337278208ed3638e3b5be78ae63 (patch)
tree088b6ad9fd2e111425c3ac61d68bf0b55e82c712 /gcc/fixinc/gnu-regex.h
parentd3de1cf7f0f0e2c98460a3fb50b2aee18ddbdc51 (diff)
downloadgcc-52c207e293ff4337278208ed3638e3b5be78ae63.zip
gcc-52c207e293ff4337278208ed3638e3b5be78ae63.tar.gz
gcc-52c207e293ff4337278208ed3638e3b5be78ae63.tar.bz2
Makefile.in (fixinc.sh): Depend on specs.
* Makefile.in (fixinc.sh): Depend on specs. * fixinc/Makefile.in: Add rule to create machname.h. (fixlib.o): Depend on machname.h. * fixinc/fixtests.c (machine_name): New test. * fixinc/fixfixes.c (machine_name): New fix. * fixinc/fixlib.c (mn_get_regexps): New helper function for the machine_name test and fix. * fixinc/fixlib.h: Prototype it. * fixinc/inclhack.def (machine_name): Use the C test and fix. * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild. * gcc.c (do_spec_1) [case P]: Take care not to create identifiers with three leading or trailing underscores. * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC. (fixincl): Don't specify libraries twice on link line. (gnu-regex.o): Remove special rule. * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was defined by config.h. Do not define _REGEX_RE_COMP. (regcomp): Allocate and initialize a fastmap. * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP. From-SVN: r31542
Diffstat (limited to 'gcc/fixinc/gnu-regex.h')
-rw-r--r--gcc/fixinc/gnu-regex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/fixinc/gnu-regex.h b/gcc/fixinc/gnu-regex.h
index 9153ea1..57a4f14 100644
--- a/gcc/fixinc/gnu-regex.h
+++ b/gcc/fixinc/gnu-regex.h
@@ -36,11 +36,6 @@ extern "C" {
# include <stddef.h>
#endif
-/* GDB LOCAL: define _REGEX_RE_COMP to get BSD style re_comp and re_exec */
-#ifndef _REGEX_RE_COMP
-#define _REGEX_RE_COMP
-#endif
-
/* The following two types have to be signed and unsigned integer type
wide enough to hold a value of a pointer. For most ANSI compilers
ptrdiff_t and size_t should be likely OK. Still size of these two