aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2024-08-30 16:43:36 +0000
committerdrh <>2024-08-30 16:43:36 +0000
commit6cb12337b93ef782ee4ee5343e02318bb6e551e7 (patch)
treec6a3ae0fe10ee1039d7088b333cf3f1c806caa72 /src/sqliteInt.h
parentc589d5ab06e5f98486bec6e2e402a46c456bc0ea (diff)
downloadsqlite-6cb12337b93ef782ee4ee5343e02318bb6e551e7.tar.gz
sqlite-6cb12337b93ef782ee4ee5343e02318bb6e551e7.zip
A couple of #defines so that the build work with SQLITE_OMIT_FLOATING_POINT.
FossilOrigin-Name: be768f80c703ac1645251ccbac83e07b3ea4cc231c8ea7e66374a4f78361f10b
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index d1ffce6d8..0dab59f7a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -658,6 +658,8 @@
#ifdef SQLITE_OMIT_FLOATING_POINT
# define double sqlite_int64
# define float sqlite_int64
+# define fabs(X) ((X)<0?-(X):(X))
+# define sqlite3IsOverflow(X) 0
# define LONGDOUBLE_TYPE sqlite_int64
# ifndef SQLITE_BIG_DBL
# define SQLITE_BIG_DBL (((sqlite3_int64)1)<<50)