/ Check-in [fed9373e]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Define isnan() on windows. Ticket #2399. (CVS 4054)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fed9373e27b9d5338159a41772f8983420b902b0
User & Date: drh 2007-06-10 22:57:33
Context
2007-06-11
08:00
Add a README.txt file for the ICU extension. (CVS 4055) check-in: 7b692782 user: danielk1977 tags: trunk
2007-06-10
22:57
Define isnan() on windows. Ticket #2399. (CVS 4054) check-in: fed9373e user: drh tags: trunk
2007-06-09
09:53
Documentation updates, in particular in the new limits.html file is added. (CVS 4053) check-in: 4ca6cdae user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

     7      7   **    May you do good and not evil.
     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** Internal interface definitions for SQLite.
    13     13   **
    14         -** @(#) $Id: sqliteInt.h,v 1.571 2007/06/08 00:20:48 drh Exp $
           14  +** @(#) $Id: sqliteInt.h,v 1.572 2007/06/10 22:57:33 drh Exp $
    15     15   */
    16     16   #ifndef _SQLITEINT_H_
    17     17   #define _SQLITEINT_H_
    18     18   #include "limits.h"
    19     19   
    20     20   
    21     21   #if defined(SQLITE_TCL) || defined(TCLSH)
................................................................................
    60     60   #include "hash.h"
    61     61   #include "parse.h"
    62     62   #include <stdio.h>
    63     63   #include <stdlib.h>
    64     64   #include <string.h>
    65     65   #include <assert.h>
    66     66   #include <stddef.h>
           67  +
           68  +#if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__)
           69  +# define isnan(X)  ((X)!=(X))
           70  +#endif
    67     71   
    68     72   /*
    69     73   ** If compiling for a processor that lacks floating point support,
    70     74   ** substitute integer for floating-point
    71     75   */
    72     76   #ifdef SQLITE_OMIT_FLOATING_POINT
    73     77   # define double sqlite_int64