]> git.sesse.net Git - ffmpeg/commitdiff
Mark MSVC compiler macros as such.
authorDiego Biurrun <diego@biurrun.de>
Wed, 13 Feb 2008 08:33:05 +0000 (08:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 13 Feb 2008 08:33:05 +0000 (08:33 +0000)
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/mem.h

index 84b7728b4a691e19cca197e68e6db4fc0c3f8d40..851d1408a0d9bc2e141cc802fde7f09d862633bb 100644 (file)
@@ -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