diff configure @ 28594:df67d03dde3b

Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning: mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined
author diego
date Tue, 17 Feb 2009 11:16:19 +0000
parents 94d9e6403ee4
children e5f8eec12e5c
line wrap: on
line diff
--- a/configure	Tue Feb 17 10:41:13 2009 +0000
+++ b/configure	Tue Feb 17 11:16:19 2009 +0000
@@ -3149,10 +3149,10 @@
 if test "$_malloc" = yes ; then
   def_malloc_h='#define HAVE_MALLOC_H 1'
 else
-  def_malloc_h='#undef HAVE_MALLOC_H'
+  def_malloc_h='#define HAVE_MALLOC_H 0'
 fi
 # malloc.h emits a warning in FreeBSD and OpenBSD
-freebsd || openbsd || dragonfly && def_malloc_h='#undef HAVE_MALLOC_H'
+freebsd || openbsd || dragonfly && def_malloc_h='#define HAVE_MALLOC_H 0'
 echores "$_malloc"