[HHPCOMP] Add ARM (32-bit) types (#3548)

ARM32 seems to use the same type defines as i386 and friends.
Let's allow the thing to be compiled again!

CORE-17517

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
This commit is contained in:
Konrad Dybcio 2021-03-24 07:32:11 +01:00 committed by GitHub
parent e6bea426f3
commit 4c7b71ac4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,8 @@ typedef unsigned __int64 UInt64;
/* Sparc */
/* MIPS */
/* PPC */
#elif __i386__ || __sun || __sgi || __ppc__
/* ARM (32-bit) */
#elif __i386__ || __sun || __sgi || __ppc__ || __arm__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;