summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:16:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:16:19 +0000
commitbe8c67909b4bb6bedf014706a53abef10ddb5a52 (patch)
tree76f9b3593704bae0ae577c1a395205d5ed0cc4dd /configure
parente98a6e2bff65dbcec13eb41c99637c5e2ddcf317 (diff)
downloadmpv-be8c67909b4bb6bedf014706a53abef10ddb5a52.tar.bz2
mpv-be8c67909b4bb6bedf014706a53abef10ddb5a52.tar.xz
Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b87532b0c0..ada1be3853 100755
--- a/configure
+++ b/configure
@@ -3149,10 +3149,10 @@ cc_check && _malloc=yes
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"