misc/libphysfs/lzma/C/CpuArch.h
author Wuzzy <almikes@aol.com>
Thu, 12 Oct 2017 20:17:00 +0200
changeset 12698 f2690a0ccf19
parent 12213 bb5522e88ab2
permissions -rw-r--r--
QTfrontend: Fix flickering and bad offset of control config popup If you opened the pop-up to change a key, there was a very short flicker at the left side and the pop-up had a bad offset which sometimes caused entries to be out of screen bounds.

/* CpuArch.h */

#ifndef __CPUARCH_H
#define __CPUARCH_H

/* 
LITTLE_ENDIAN_UNALIGN means:
  1) CPU is LITTLE_ENDIAN
  2) it's allowed to make unaligned memory accesses
if LITTLE_ENDIAN_UNALIGN is not defined, it means that we don't know 
about these properties of platform.
*/

#if defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64) || defined(__i386__) || defined(__x86_64__)
#define LITTLE_ENDIAN_UNALIGN
#endif

#endif