mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
Mark MSVC compiler macros as such.
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user