diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:16:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:16:19 +0000 |
commit | be8c67909b4bb6bedf014706a53abef10ddb5a52 (patch) | |
tree | 76f9b3593704bae0ae577c1a395205d5ed0cc4dd /libvo | |
parent | e98a6e2bff65dbcec13eb41c99637c5e2ddcf317 (diff) |
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 'libvo')
-rw-r--r-- | libvo/sub.c | 2 | ||||
-rw-r--r-- | libvo/vo_dxr3.c | 2 | ||||
-rw-r--r-- | libvo/vo_vesa.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index 196c8c9033..597c121498 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -21,7 +21,7 @@ #include <string.h> #include "config.h" -#ifdef HAVE_MALLOC_H +#if HAVE_MALLOC_H #include <malloc.h> #endif diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 46ab3468ea..c5fa8a970d 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -37,7 +37,7 @@ #include "config.h" #include "mp_msg.h" #include "help_mp.h" -#ifdef HAVE_MALLOC_H +#if HAVE_MALLOC_H #include <malloc.h> #endif #include "fastmemcpy.h" diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index d1924fe18a..f3d3ff1519 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -30,7 +30,7 @@ #include "help_mp.h" #include "gtf.h" #include <stdio.h> -#ifdef HAVE_MALLOC_H +#if HAVE_MALLOC_H #include <malloc.h> #endif #include <stdlib.h> |