[FFmpeg-devel] [PATCH] Compiler macro fix (resend)

pross at xvid.org pross
Mon Feb 25 15:34:37 CET 2008


On Wed, Feb 20, 2008 at 09:39:08PM +0000, M?ns Rullg?rd wrote:
> "Eddie Pang" <eddpang at gmail.com> writes:
> > The attached patch corrects the compiler macros in libavutil/mem.h
> > that were introduced in r11917.

> > -#elif _MSVC
> > +#elif defined(_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

Eddie, since when did microsoft start using _MSVC to ident their compiler?

Microsoft CL.exe has always used _MSC.

-- pete




More information about the ffmpeg-devel mailing list