Ignore:
Timestamp:
12/19/06 22:27:26 (18 years ago)
Author:
zorg
Message:

Fix endianness issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/trunk/src/tools.c

    r97 r170  
    8383 */
    8484
    85 #if ENDIAN == HAVE_BIG_ENDIAN
     85#ifdef MPC_BIG_ENDIAN
    8686
    8787static void
     
    110110}
    111111
    112 #endif /* ENDIAN == HAVE_BIG_ENDIAN */
     112#endif /* MPC_BIG_ENDIAN */
    113113
    114114
     
    128128    wordsread = READ ( fp, dst, words32bit * sizeof(*dst) ) / sizeof(*dst);
    129129
    130 #if ENDIAN == HAVE_BIG_ENDIAN
     130#ifdef MPC_BIG_ENDIAN
    131131    Change_Endian32 ( dst, wordsread );
    132132#endif
Note: See TracChangeset for help on using the changeset viewer.