aboutsummaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun2008-02-13 08:33:05 +0000
committerDiego Biurrun2008-02-13 08:33:05 +0000
commitb89bb8581d1ef23fe3096b27bdde56f7985b3162 (patch)
tree244bab5854c2db494124523f2a391af765fd1041 /libavutil
parent7433ca29825c88a0c30a0e8e00ecb32fa3f04fa1 (diff)
Mark MSVC compiler macros as such.
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 84b7728b4a..851d1408a0 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -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