On ppc64, gcc 4.4 spews lots of..
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 14 Jul 2009 11:06:17 +0000 (11:06 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 14 Jul 2009 11:06:17 +0000 (11:06 +0000)
drivers/scsi/qla2xxx/qla_def.h:1485:7: warning: "__LITTLE_ENDIAN" is not defined

Signed-off-by: Dave Jones <davej@redhat.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@952 d57e44dd-8a1f-0410-8b47-8ef2f437770f

qla2x00t/qla_def.h

index 7bea425..b160f91 100644 (file)
@@ -1485,7 +1485,7 @@ typedef union {
                uint8_t domain;
                uint8_t area;
                uint8_t al_pa;
-#elif __LITTLE_ENDIAN
+#elif defined(__LITTLE_ENDIAN)
                uint8_t al_pa;
                uint8_t area;
                uint8_t domain;