From e98a6e2bff65dbcec13eb41c99637c5e2ddcf317 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 17 Feb 2009 10:41:13 +0000 Subject: 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 --- liba52/liba52_changes.diff | 3 ++- liba52/parse.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'liba52') 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 -- cgit v1.2.3