diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 10:41:13 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 10:41:13 +0000 |
commit | e98a6e2bff65dbcec13eb41c99637c5e2ddcf317 (patch) | |
tree | de5475eccdc9b670dca903b3368143a90bfaf06e /liba52 | |
parent | 4a8a46fafddfb4234fa99746c765e95d3a1ccd1d (diff) |
Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28628 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52')
-rw-r--r-- | liba52/liba52_changes.diff | 3 | ||||
-rw-r--r-- | liba52/parse.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/liba52/liba52_changes.diff b/liba52/liba52_changes.diff index 9a559a5036..0e9e71c53f 100644 --- a/liba52/liba52_changes.diff +++ b/liba52/liba52_changes.diff @@ -2354,7 +2354,8 @@ +#include "mm_accel.h" +#include "libavutil/avutil.h" - #ifdef HAVE_MEMALIGN +-#ifdef HAVE_MEMALIGN ++#if HAVE_MEMALIGN /* some systems have memalign() but no declaration for it */ void * memalign (size_t align, size_t size); -#else diff --git a/liba52/parse.c b/liba52/parse.c index 92d38b482f..fff01aed5b 100644 --- a/liba52/parse.c +++ b/liba52/parse.c @@ -39,7 +39,7 @@ #include "mm_accel.h" #include "libavutil/avutil.h" -#ifdef HAVE_MEMALIGN +#if HAVE_MEMALIGN /* some systems have memalign() but no declaration for it */ void * memalign (size_t align, size_t size); #endif |