Use dummy Get...() functions for all Intel targets

64-bit Intel targets built with GCC/Clang were using strict memory alignment versions of GetShort(), GetInt(), GetBigInt() functions
This commit is contained in:
alexey.lysiuk 2018-01-25 13:23:12 +02:00
parent 47b276024e
commit e728634497
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ inline int BigLong (int x)
// Data accessors, since some data is highly likely to be unaligned.
#if defined(_M_IX86) || defined(_M_X64) || defined(__i386__)
#if defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || defined(__x86_64__)
inline int GetShort(const unsigned char *foo)
{
return *(const short *)foo;