misc/libphysfs/lzma/C/CpuArch.h
changeset 12218 bb5522e88ab2
equal deleted inserted replaced
12217:ea891871f481 12218:bb5522e88ab2
       
     1 /* CpuArch.h */
       
     2 
       
     3 #ifndef __CPUARCH_H
       
     4 #define __CPUARCH_H
       
     5 
       
     6 /* 
       
     7 LITTLE_ENDIAN_UNALIGN means:
       
     8   1) CPU is LITTLE_ENDIAN
       
     9   2) it's allowed to make unaligned memory accesses
       
    10 if LITTLE_ENDIAN_UNALIGN is not defined, it means that we don't know 
       
    11 about these properties of platform.
       
    12 */
       
    13 
       
    14 #if defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64) || defined(__i386__) || defined(__x86_64__)
       
    15 #define LITTLE_ENDIAN_UNALIGN
       
    16 #endif
       
    17 
       
    18 #endif