OSDN Git Service

am 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."
authorElliott Hughes <enh@google.com>
Wed, 8 Jul 2015 17:59:44 +0000 (17:59 +0000)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 8 Jul 2015 17:59:44 +0000 (17:59 +0000)
* commit '8ccad4af261ebfe705e9ec7f67d72410e6bc092c':
  Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h.

device/include/llvm/Config/config.h
host/include/llvm/Config/config.h

index ac58972..1798b90 100644 (file)
 #define HAVE_MALLINFO 1
 
 /* Define to 1 if you have the <malloc.h> header file. */
-//#define HAVE_MALLOC_H 1 /* Defined by AndroidConfig.h */
+#define HAVE_MALLOC_H 1
 
 /* Define to 1 if you have the <malloc/malloc.h> header file. */
 /* #undef HAVE_MALLOC_MALLOC_H */
index cb3d4a3..a1978a8 100644 (file)
 #endif
 
 /* Define to 1 if you have the <malloc.h> header file. */
-/* #define HAVE_MALLOC_H 1 */ /* Defined by AndroidConfig.h */
+#if !defined(__APPLE__)
+#define HAVE_MALLOC_H 1
+#else
+/* #undef HAVE_MALLOC_H */
+#endif
 
 /* Define to 1 if you have the <malloc/malloc.h> header file. */
 /* #undef HAVE_MALLOC_MALLOC_H */