[FFmpeg-cvslog] r12218 - trunk/libavutil/mem.h

michael subversion
Mon Feb 25 19:32:55 CET 2008


Author: michael
Date: Mon Feb 25 19:32:55 2008
New Revision: 12218

Log:
Fix MSVC identification, patch by Eddie Pang.


Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	(original)
+++ trunk/libavutil/mem.h	Mon Feb 25 19:32:55 2008
@@ -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




More information about the ffmpeg-cvslog mailing list