You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
975 B

  1. --- a/sqlite3.c
  2. +++ b/sqlite3.c
  3. @@ -13920,12 +13920,13 @@ typedef INT16_TYPE LogEst;
  4. ** at run-time.
  5. */
  6. #ifndef SQLITE_BYTEORDER
  7. -# if defined(i386) || defined(__i386__) || defined(_M_IX86) || \
  8. - defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \
  9. - defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \
  10. - defined(__arm__) || defined(_M_ARM64)
  11. +# if defined(i386) || defined(__i386__) || defined(_M_IX86) || \
  12. + defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \
  13. + defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \
  14. + defined(__ARMEL__) || defined(__AARCH64EL__) || defined(_M_ARM64)
  15. # define SQLITE_BYTEORDER 1234
  16. -# elif defined(sparc) || defined(__ppc__)
  17. +# elif defined(sparc) || defined(__ppc__) || \
  18. + defined(__ARMEB__) || defined(__AARCH64EB__)
  19. # define SQLITE_BYTEORDER 4321
  20. # else
  21. # define SQLITE_BYTEORDER 0