mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
Fix MSVC identification, patch by Eddie Pang.
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4fa1f6cc5c
commit
a02dd7ebdd
@ -32,7 +32,7 @@
|
|||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
|
#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)))
|
#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_ALIGNED(n,t,v) __declspec(align(n)) t v
|
||||||
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
|
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user