A couple of #defines so that the build work with SQLITE_OMIT_FLOATING_POINT.

FossilOrigin-Name: be768f80c703ac1645251ccbac83e07b3ea4cc231c8ea7e66374a4f78361f10b
This commit is contained in:
drh
2024-08-30 16:43:36 +00:00
parent c589d5ab06
commit 6cb12337b9
3 changed files with 9 additions and 7 deletions
+2
View File
@@ -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)