aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-02-23 16:28:34 +0000
committerdrh <drh@noemail.net>2016-02-23 16:28:34 +0000
commit0e0089679fa2a5f191aedde660512d4b5c95d0d1 (patch)
tree3d0a819965ce1a404a597f0951a27f02499bc72b /src
parentb0529586572f3b3fcfd6bfcab6f177247e1cd9fa (diff)
downloadsqlite-0e0089679fa2a5f191aedde660512d4b5c95d0d1.tar.gz
sqlite-0e0089679fa2a5f191aedde660512d4b5c95d0d1.zip
Add the SQLITE_BITMASK_TYPE compile-time option.
FossilOrigin-Name: 0064a8c77b2b048c71277d1cfd1ba3975b513b70
Diffstat (limited to 'src')
-rw-r--r--src/sqliteInt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 85d4158a4..4ebc210ff 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2338,7 +2338,11 @@ struct IdList {
** tables in a join to 32 instead of 64. But it also reduces the size
** of the library by 738 bytes on ix86.
*/
-typedef u64 Bitmask;
+#ifdef SQLITE_BITMASK_TYPE
+ typedef SQLITE_BITMASK_TYPE Bitmask;
+#else
+ typedef u64 Bitmask;
+#endif
/*
** The number of bits in a Bitmask. "BMS" means "BitMask Size".