Commit e731e729 authored by diego's avatar diego

Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11919 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8233b1ba
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
#elif _MSVC #elif _MSVC
#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
#warning No align and asm directives, this might fail.
#define DECLARE_ALIGNED(n,t,v) t v
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif #endif
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment