diff options
author | Martin Liska <mliska@suse.cz> | 2020-09-01 14:14:45 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-09-21 10:09:26 +0200 |
commit | 432c551b17d655823a4825855b4b966441c8cfb3 (patch) | |
tree | 3959fd2a8a6da15120a7334e5ca542e4aa0e568e /gcc/system.h | |
parent | 11da31998af6d7b7d4d6fcd3f705c17d69baf58b (diff) | |
download | gcc-432c551b17d655823a4825855b4b966441c8cfb3.zip gcc-432c551b17d655823a4825855b4b966441c8cfb3.tar.gz gcc-432c551b17d655823a4825855b4b966441c8cfb3.tar.bz2 |
Support new mallinfo2 function.
gcc/ChangeLog:
* config.in: Regenerate.
* configure: Likewise.
* configure.ac: Detect for mallinfo2.
* ggc-common.c (defined): Use it.
* system.h: Handle also HAVE_MALLINFO2.
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h index 3c543a0..4f0482b 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -732,7 +732,7 @@ extern int vsnprintf (char *, size_t, const char *, va_list); #endif #ifdef INCLUDE_MALLOC_H -#ifdef HAVE_MALLINFO +#if defined(HAVE_MALLINFO) || defined(HAVE_MALLINFO2) #include <malloc.h> #endif #endif |