From b89bb8581d1ef23fe3096b27bdde56f7985b3162 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 13 Feb 2008 08:33:05 +0000 Subject: Mark MSVC compiler macros as such. Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/mem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/mem.h') diff --git a/libavutil/mem.h b/libavutil/mem.h index 84b7728b4a..851d1408a0 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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 -- cgit v1.2.3