aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-23 06:22:05 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-23 06:22:05 +0000
commit4fa31c2aae72bba8150f3bacb3529d5eb4ed4866 (patch)
treed9f5137d155815ae95eb8edac101fd2d075fbe73 /gcc/defaults.h
parente75abdabb2c3e7a31dfbe7a29022a038e3f2ecc1 (diff)
downloadgcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.zip
gcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.tar.gz
gcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.tar.bz2
defaults.h (obstack_chunk_alloc, [...]): Default definition.
* defaults.h (obstack_chunk_alloc, obstack_chunk_free): Default definition. * gcse.c: Don't define obstack_chunk_free. * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: Don't define obstack macros. cp: * class.c, method.c, pt.c, search.c: Similarly. From-SVN: r55665
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index b542e53..6d12e09 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -27,6 +27,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define GET_ENVIRONMENT(VALUE, NAME) do { (VALUE) = getenv (NAME); } while (0)
#endif
+#define obstack_chunk_alloc xmalloc
+#define obstack_chunk_free free
+
/* Define default standard character escape sequences. */
#ifndef TARGET_BELL
# define TARGET_BELL 007