[FFmpeg-cvslog] r12382 - trunk/libavutil/mem.h
diego
subversion
Sat Mar 8 21:30:16 CET 2008
Author: diego
Date: Sat Mar 8 21:30:15 2008
New Revision: 12382
Log:
#error in case we do not know how to provide alignment.
Modified:
trunk/libavutil/mem.h
Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h (original)
+++ trunk/libavutil/mem.h Sat Mar 8 21:30:15 2008
@@ -35,8 +35,9 @@
#elif defined(_MSC_VER)
#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
+#elif defined(HAVE_INLINE_ASM)
+ #error The asm code needs alignment, but we do not know how to do it for this compiler.
#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
More information about the ffmpeg-cvslog
mailing list