Index: third_party/sqlite/src/src/utf.c |
diff --git a/third_party/sqlite/src/src/utf.c b/third_party/sqlite/src/src/utf.c |
index 25f4dadf0c7eb912bbcbe7c01ef4605c327575cd..ee367c139977f74125ecdf9c19b19813ac4ff61a 100644 |
--- a/third_party/sqlite/src/src/utf.c |
+++ b/third_party/sqlite/src/src/utf.c |
@@ -37,13 +37,13 @@ |
#include <assert.h> |
#include "vdbeInt.h" |
-#ifndef SQLITE_AMALGAMATION |
+#if !defined(SQLITE_AMALGAMATION) && SQLITE_BYTEORDER==0 |
/* |
** The following constant value is used by the SQLITE_BIGENDIAN and |
** SQLITE_LITTLEENDIAN macros. |
*/ |
const int sqlite3one = 1; |
-#endif /* SQLITE_AMALGAMATION */ |
+#endif /* SQLITE_AMALGAMATION && SQLITE_BYTEORDER==0 */ |
/* |
** This lookup table is used to help decode the first byte of |