Mercurial > libavutil.hg
changeset 449:f150c3ca02d5 libavutil
Mark MSVC compiler macros as such.
author | diego |
---|---|
date | Wed, 13 Feb 2008 08:33:05 +0000 |
parents | 41603959875e |
children | dd654d025ed5 |
files | mem.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mem.h Wed Feb 13 08:08:03 2008 +0000 +++ b/mem.h Wed Feb 13 08:33:05 2008 +0000 @@ -32,7 +32,7 @@ #elif __GNUC__ #define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n))) #define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n))) -#else +#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 #endif