diff --git a/libavutil/mem.h b/libavutil/mem.h index 851d1408a0d9bc2e141cc802fde7f09d862633bb..e0f17d78bb750cdd31cb8b355c51f68f64c926a2 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 /**