defines RISC-V as little-endian

This commit is contained in:
Romain Dolbeau 2021-02-14 06:53:04 -05:00
parent 423bcc6b24
commit a0db6a9e23

View file

@ -28,6 +28,8 @@
#define ECRYPT_LITTLE_ENDIAN
#elif defined(__INTEL_COMPILER) /* x86 (surely Intel compiler icl.exe) */
#define ECRYPT_LITTLE_ENDIAN
#elif defined(__riscv)
#define ECRYPT_LITTLE_ENDIAN
/*
* The BIG endian machines: