1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Define isnan() on windows. Ticket #2399. (CVS 4054)

FossilOrigin-Name: fed9373e27b9d5338159a41772f8983420b902b0
This commit is contained in:
drh
2007-06-10 22:57:33 +00:00
parent b0e64f33da
commit 7361cb1f2c
3 changed files with 12 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.571 2007/06/08 00:20:48 drh Exp $
** @(#) $Id: sqliteInt.h,v 1.572 2007/06/10 22:57:33 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -65,6 +65,10 @@
#include <assert.h>
#include <stddef.h>
#if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__)
# define isnan(X) ((X)!=(X))
#endif
/*
** If compiling for a processor that lacks floating point support,
** substitute integer for floating-point