misc/libphysfs/lzma/C/CpuArch.h
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     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