Properly detect malloc_zone_statistics in CMake build system
[oota-llvm.git] / include / llvm / Config / config.h.cmake
index caabf0779abad15f4c616210bd94257138d81bc8..ed77874b780ad4b0f5ca9208ac7fbcaa3ea6cd2a 100644 (file)
 #cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}
 
 /* Define to 1 if you have the `malloc_zone_statistics' function. */
-#undef HAVE_MALLOC_ZONE_STATISTICS
+#cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS}
 
 /* Define to 1 if you have the `memcpy' function. */
 #undef HAVE_MEMCPY