diff options
author | drh <drh@noemail.net> | 2007-06-20 15:29:25 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-06-20 15:29:25 +0000 |
commit | 7cd6927e7f1baff9b972b48abf5446b373b70e23 (patch) | |
tree | 7a39797ab77444ed02e9fd07d2beab2ed7662d1f /src/sqliteInt.h | |
parent | 029f3f8924204438ffacc2b853df0ca53f725690 (diff) | |
download | sqlite-7cd6927e7f1baff9b972b48abf5446b373b70e23.tar.gz sqlite-7cd6927e7f1baff9b972b48abf5446b373b70e23.zip |
Remove the dependency on libm for isnan(). Ticket #2436. (CVS 4103)
FossilOrigin-Name: 406675bb1c954dae95b9059f7f533ed57e3947d9
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index eca83996e..38cad64d9 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.573 2007/06/19 15:23:48 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.574 2007/06/20 15:29:25 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -65,9 +65,7 @@ #include <assert.h> #include <stddef.h> -#if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__) -# define isnan(X) ((X)!=(X)) -#endif +#define sqlite3_isnan(X) ((X)!=(X)) /* ** If compiling for a processor that lacks floating point support, |