Commit e3b61557 authored by bcoudurier's avatar bcoudurier

fix bug when __GNUC__ isn't defined and when compiling for a non-x86...

fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsjö, martin at martin st

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7261 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2187e60a
...@@ -187,12 +187,12 @@ static inline uint##x##_t unaligned##x(const void *v) { \ ...@@ -187,12 +187,12 @@ static inline uint##x##_t unaligned##x(const void *v) { \
} }
# elif defined(__DECC) # elif defined(__DECC)
# define unaligned(x) \ # define unaligned(x) \
static inline uint##x##_t unaligned##x##(const void *v) { \ static inline uint##x##_t unaligned##x(const void *v) { \
return *(const __unaligned uint##x##_t *) v; \ return *(const __unaligned uint##x##_t *) v; \
} }
# else # else
# define unaligned(x) \ # define unaligned(x) \
static inline uint##x##_t unaligned##x##(const void *v) { \ static inline uint##x##_t unaligned##x(const void *v) { \
return *(const uint##x##_t *) v; \ return *(const uint##x##_t *) v; \
} }
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment