From a02dd7ebdd0b695184d09a898173ca59be0dec6c Mon Sep 17 00:00:00 2001 From: Eddie Pang Date: Mon, 25 Feb 2008 18:32:55 +0000 Subject: Fix MSVC identification, patch by Eddie Pang. Originally committed as revision 12218 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 c39cce6629..7bf707001b 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -32,7 +32,7 @@ #elif defined(__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))) -#elif defined(_MSVC) +#elif defined(_MSC_VER) #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 -- cgit v1.2.3