From 52c207e293ff4337278208ed3638e3b5be78ae63 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 20 Jan 2000 18:25:12 +0000 Subject: 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 --- gcc/fixinc/gnu-regex.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/fixinc/gnu-regex.h') 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 #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 -- cgit v1.1