[FFmpeg-cvslog] r15509 - trunk/libavutil/mem.h

cehoyos subversion
Thu Oct 2 12:47:05 CEST 2008


Author: cehoyos
Date: Thu Oct  2 12:47:05 2008
New Revision: 15509

Log:
Allow using DECLARE_ALIGNED with Sun cc.

Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	(original)
+++ trunk/libavutil/mem.h	Thu Oct  2 12:47:05 2008
@@ -26,7 +26,7 @@
 #ifndef AVUTIL_MEM_H
 #define AVUTIL_MEM_H
 
-#ifdef __ICC
+#if defined(__ICC) || defined(__SUNPRO_C)
     #define DECLARE_ALIGNED(n,t,v)      t v __attribute__ ((aligned (n)))
     #define DECLARE_ASM_CONST(n,t,v)    const t __attribute__ ((aligned (n))) v
 #elif defined(__GNUC__)




More information about the ffmpeg-cvslog mailing list