diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-02-13 08:36:04 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-02-13 08:36:04 +0000 |
commit | 7cb1fc766ba9072999df5aa6cd060163f059aa60 (patch) | |
tree | f318e5d68c793ed089293d2b7f37ca74f1509c36 | |
parent | b89bb8581d1ef23fe3096b27bdde56f7985b3162 (diff) | |
download | ffmpeg-7cb1fc766ba9072999df5aa6cd060163f059aa60.tar.gz |
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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 /** |