Ignore:
Timestamp:
12/19/06 23:02:00 (17 years ago)
Author:
zorg
Message:

Fix endianess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/mpcenc/mppdec.h

    r78 r171  
    131131# undef USE_ESD_AUDIO
    132132# define NO_DEV_AUDIO
    133 # undef ENDIAN
    134 # define ENDIAN HAVE_BIG_ENDIAN
    135133#endif
    136134
     
    962960extern Bool_t             IS_used;
    963961
    964 #define LITTLE                  0
    965 #define BIG                     1
    966 extern Bool_t                   output_endianess;
    967 #if   ENDIAN == HAVE_LITTLE_ENDIAN
    968 # define machine_endianess      LITTLE
    969 #elif ENDIAN == HAVE_BIG_ENDIAN
    970 # define machine_endianess      BIG
    971 #endif
    972 
    973962// requant.c
    974963extern Float              __SCF    [6 + 128];       // tabulated Scalefactors from -6 to +127
     
    10821071void       mysetargv                  ( int* argc, char*** argv, const char** extentions );
    10831072
    1084 #if ENDIAN == HAVE_BIG_ENDIAN
     1073#ifdef MPC_BIG_ENDIAN
    10851074
    10861075# define ReadLE32(dst,psrc)       dst = *(Uint32_t*)(psrc)
Note: See TracChangeset for help on using the changeset viewer.