# HG changeset patch # User bcoudurier # Date 1165584337 0 # Node ID 892dba2cf52a7f12aa33ec8237701d62fb51b3fb # Parent 9900add82642e2c5e4da35f6e0e2ff3cc6b2aebf fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsj?, martin at martin st diff -r 9900add82642 -r 892dba2cf52a bitstream.h --- a/bitstream.h Fri Dec 08 05:28:00 2006 +0000 +++ b/bitstream.h Fri Dec 08 13:25:37 2006 +0000 @@ -187,12 +187,12 @@ } # elif defined(__DECC) # 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; \ } # else # 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; \ } # endif