[FFmpeg-cvslog] r11919 - trunk/libavutil/mem.h

Rich Felker dalias
Wed Feb 13 09:53:41 CET 2008


On Wed, Feb 13, 2008 at 09:36:04AM +0100, diego wrote:
> Author: diego
> Date: Wed Feb 13 09:36:04 2008
> New Revision: 11919
> 
> Log:
> Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
> 
> 
> Modified:
>    trunk/libavutil/mem.h
> 
> Modified: trunk/libavutil/mem.h
> ==============================================================================
> --- trunk/libavutil/mem.h	(original)
> +++ trunk/libavutil/mem.h	Wed Feb 13 09:36:04 2008
> @@ -35,6 +35,10 @@
>  #elif _MSVC
>    #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
>    #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
> +#else
> +  #warning No align and asm directives, this might fail.

I hope the configure script can be cleaned up to make sure it does not
enable any asm in these cases, and then the #warning can be removed...

Rich




More information about the ffmpeg-cvslog mailing list