1/* CpuArch.h */
2
3#ifndef __CPUARCH_H
4#define __CPUARCH_H
5
6/*
7LITTLE_ENDIAN_UNALIGN means:
8  1) CPU is LITTLE_ENDIAN
9  2) it's allowed to make unaligned memory accesses
10if LITTLE_ENDIAN_UNALIGN is not defined, it means that we don't know
11about 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
19