dsp/bridge: make shit compile with modern gcc
authorPaul Fertser <fercerpav@gmail.com>
Sun, 19 Sep 2010 18:55:35 +0000 (22:55 +0400)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 28 Oct 2010 21:34:52 +0000 (01:34 +0400)
The problem is that without this defined some macroses are about to expand
in a way accessing unavailable variables, though it doesn't matter after
pre-processing (they are getting stripped out) gcc still marks those as
errors.

drivers/dsp/bridge/dynload/params.h

index ade430d..88a4159 100644 (file)
@@ -79,7 +79,7 @@
 
 #define LENIENT_SIGNED_RELEXPS 0       /* DOES SIGNED ALLOW MAX UNSIGNED   */
 
-#undef TARGET_ENDIANNESS       /* may be big or little endian */
+#define TARGET_ENDIANNESS 0    /* may be big or little endian */
 
 /* align a target address to a word boundary */
 #define TARGET_WORD_ALIGN(zz) (((zz) + 0x3) & -0x4)