提交 a02dd7eb 编写于 作者: E Eddie Pang 提交者: Michael Niedermayer

Fix MSVC identification, patch by Eddie Pang.

Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4fa1f6cc
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册