Fix MSVC identification, patch by Eddie Pang.
authorEddie Pang <eddpang@gmail.com>
Mon, 25 Feb 2008 18:32:55 +0000 (18:32 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Feb 2008 18:32:55 +0000 (18:32 +0000)
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/mem.h

index c39cce6..7bf7070 100644 (file)
@@ -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