summaryrefslogtreecommitdiff
path: root/libavutil/mem.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-02 10:47:05 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-02 10:47:05 +0000
commitaaa0df02d3f3803a24a38faead836330ca074b74 (patch)
tree23717fc44ded8f83eae8196cf0a2309a800cb871 /libavutil/mem.h
parent8d2fc163ce2b3200a454eea433a9476043956cac (diff)
downloadffmpeg-aaa0df02d3f3803a24a38faead836330ca074b74.tar.gz
Allow using DECLARE_ALIGNED with Sun cc.
Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r--libavutil/mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 149889b5fa..a02c7e150e 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -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__)