[FFmpeg-cvslog] r11919 - trunk/libavutil/mem.h
Måns Rullgård
mans
Wed Feb 13 10:19:36 CET 2008
Rich Felker <dalias at aerifal.cx> writes:
> 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...
Of course it can. What should we be testing for?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list