projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffb41b
)
Define av_alias if supported by compiler
author
Måns Rullgård
<mans@mansr.com>
Fri, 29 Jan 2010 03:26:14 +0000
(
03:26
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Fri, 29 Jan 2010 03:26:14 +0000
(
03:26
+0000)
Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/internal.h
patch
|
blob
|
blame
|
history
diff --git
a/libavutil/internal.h
b/libavutil/internal.h
index
f0ea232
..
cd63b3d
100644
(file)
--- a/
libavutil/internal.h
+++ b/
libavutil/internal.h
@@
-55,6
+55,14
@@
#endif
#endif
+#ifndef av_alias
+#if HAVE_ATTRIBUTE_MAY_ALIAS
+# define av_alias __attribute__((may_alias))
+#else
+# define av_alias
+#endif
+#endif
+
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1)
#endif