1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix SQLITE_BYTEORDER #defines in R-Tree when compiled separately from the

amalgamation.

FossilOrigin-Name: a136609c98ed3cc673c5a3c2578d49db3f2518d1
This commit is contained in:
drh
2017-02-07 13:51:48 +00:00
parent edd9bcb372
commit 364ca6a90e
3 changed files with 10 additions and 10 deletions

View File

@ -408,13 +408,13 @@ struct RtreeMatchArg {
defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \
defined(__arm__)) && !defined(SQLITE_RUNTIME_BYTEORDER)
# define SQLITE_BYTEORDER 1234
#endif
#if (defined(sparc) || defined(__ppc__)) \
#elif (defined(sparc) || defined(__ppc__)) \
&& !defined(SQLITE_RUNTIME_BYTEORDER)
# define SQLITE_BYTEORDER 4321
#endif
#else
# define SQLITE_BYTEORDER 0 /* 0 means "unknown at compile-time" */
#endif
#endif
/* What version of MSVC is being used. 0 means MSVC is not being used */