modified the endian check for ti compileri (PRSDK-3197)
authorSuraj Das <s-das@ti.com>
Wed, 6 Dec 2017 22:06:23 +0000 (17:06 -0500)
committerSuraj Das <s-das@ti.com>
Wed, 6 Dec 2017 22:06:23 +0000 (17:06 -0500)
packages/ti/sdo/edma3/rm/edma3_rm.h

index e38eb18ce61a6a458f0dcc5eed3da9c280e002a8..e5fb1e6adb638fcb3e040b8f4e4f070b40810e1a 100755 (executable)
@@ -1503,7 +1503,7 @@ typedef struct  {
     volatile uint32_t CCNT;
 } EDMA3_RM_ParamentryRegs;
 
-#if defined(__GNUC__) && !defined(__ti__)
+#if defined(__GNUC__) && !defined(__TI_COMPILER_VERSION__)
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 #define EDMA_MODE_LITTLE_ENDIAN   1
 #else