OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89bb85
)
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
author
Diego Biurrun
<diego@biurrun.de>
Wed, 13 Feb 2008 08:36:04 +0000
(08:36 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 13 Feb 2008 08:36:04 +0000
(08:36 +0000)
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.h
patch
|
blob
|
history
diff --git
a/libavutil/mem.h
b/libavutil/mem.h
index
851d140
..
e0f17d7
100644
(file)
--- a/
libavutil/mem.h
+++ b/
libavutil/mem.h
@@
-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
/**