summaryrefslogtreecommitdiffstats
path: root/libmpdemux
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 /libmpdemux
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 'libmpdemux')
-rw-r--r--libmpdemux/parse_mp4.c2
-rw-r--r--libmpdemux/video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/parse_mp4.c b/libmpdemux/parse_mp4.c
index 67ccce5a94..79770f821c 100644
--- a/libmpdemux/parse_mp4.c
+++ b/libmpdemux/parse_mp4.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <inttypes.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 41a3d7d006..58bcc6ad76 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -3,7 +3,7 @@
#include "config.h"
#include <stdio.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>