diff options
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r-- | libavutil/mem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 851d1408a0..e0f17d78bb 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -35,6 +35,10 @@ #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 +#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 /** |