[FFmpeg-cvslog] r11919 - trunk/libavutil/mem.h
diego
subversion
Wed Feb 13 09:36:04 CET 2008
Author: diego
Date: Wed Feb 13 09:36:04 2008
New Revision: 11919
Log:
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Modified:
trunk/libavutil/mem.h
Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h (original)
+++ trunk/libavutil/mem.h Wed Feb 13 09:36:04 2008
@@ -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
/**
More information about the ffmpeg-cvslog
mailing list