]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blobdiff - packages/ti/sdo/edma3/rm/edma3_rm.h
modified endianess check based on GCC 6.3.x
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / rm / edma3_rm.h
index a6cd3c5701da41638c6b0de99b335ce2f304c4ee..b0fca333a1d944f19bf7f477891688d3974d3c58 100755 (executable)
@@ -1509,7 +1509,7 @@ typedef struct  {
  * This is a mapping of the EDMA3 PaRAM set provided to the user
  * for ease of modification of the individual fields.
  */
-#ifndef _BIG_ENDIAN
+#if _BYTE_ORDER == _LITTLE_ENDIAN
 /* LITTLE_ENDIAN_MODE */
 typedef struct  {
         /** OPT field of PaRAM Set */
@@ -1665,7 +1665,7 @@ typedef struct  {
          */
         volatile uint16_t cCnt;
 } EDMA3_RM_PaRAMRegs;
-#endif         /* #ifndef _BIG_ENDIAN */
+#endif         /* #if _BYTE_ORDER == _LITTLE_ENDIAN */
 
 /**
 @}