# HG changeset patch # User mru # Date 1143164002 0 # Node ID d9eceb8313c2ded47d2349928db1c5e9808fe29f # Parent 4186eb8d29a1449c40d439b96f4bda83d2e53b95 ST16 is undefined for non-GNU compilers. Patch by Steve Lhomme diff -r 4186eb8d29a1 -r d9eceb8313c2 dsputil.h --- a/dsputil.h Thu Mar 23 21:54:46 2006 +0000 +++ b/dsputil.h Fri Mar 24 01:33:22 2006 +0000 @@ -543,6 +543,7 @@ #define LD32(a) (*((uint32_t*)(a))) #define LD64(a) (*((uint64_t*)(a))) +#define ST16(a, b) *((uint16_t*)(a)) = (b) #define ST32(a, b) *((uint32_t*)(a)) = (b) #endif /* !__GNUC__ */