summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-02-06 19:20:47 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-02-06 19:20:47 +0000
commit02fc3c696c18cd2d5aceaa5d0e021396385dfba8 (patch)
tree3bfe11820fc198f64799d6def41763af8c3d4748 /llvm/include
parent058b628264d276515a0aab66285816fe6cde2aa2 (diff)
downloadbcm5719-llvm-02fc3c696c18cd2d5aceaa5d0e021396385dfba8.tar.gz
bcm5719-llvm-02fc3c696c18cd2d5aceaa5d0e021396385dfba8.zip
build: Remove the cmake check for malloc.h.
As far as I can tell, malloc.h is only being used here to provide a definition of mallinfo (malloc itself is declared in stdlib.h via cstdlib). We already have a macro for whether mallinfo is available, so switch to using that instead. Differential Revision: https://reviews.llvm.org/D57807 llvm-svn: 353329
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Config/config.h.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake
index a66d0fa070a..53e6c202d13 100644
--- a/llvm/include/llvm/Config/config.h.cmake
+++ b/llvm/include/llvm/Config/config.h.cmake
@@ -127,9 +127,6 @@
/* Define to 1 if you have the `mallinfo' function. */
#cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO}
-/* Define to 1 if you have the <malloc.h> header file. */
-#cmakedefine HAVE_MALLOC_H ${HAVE_MALLOC_H}
-
/* Define to 1 if you have the <malloc/malloc.h> header file. */
#cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}
OpenPOWER on IntegriCloud