changeset 457:b612613c38ba libavutil

Fix MSVC identification, patch by Eddie Pang.
author michael
date Mon, 25 Feb 2008 18:32:55 +0000
parents 73268b3e728c
children 676e2c142383
files mem.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mem.h	Mon Feb 25 18:25:49 2008 +0000
+++ b/mem.h	Mon Feb 25 18:32:55 2008 +0000
@@ -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