System.Data.SQLite

Check-in [07ecc4ebfa]
Login

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

Overview
Comment:Take into account the additional math functions available with MSVC 2013.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | vs2013
Files: files | file ages | folders
SHA1: 07ecc4ebfa97eddd155df718c73523746b853a0d
User & Date: mistachkin 2013-11-27 02:15:17.600
Context
2013-11-27
04:49
Update the Eagle script library in externals to the latest trunk, needed for its test suite infrastructure updates for Visual Studio 2013 and the .NET Framework 4.5.1. check-in: d0704d07a1 user: mistachkin tags: vs2013
02:15
Take into account the additional math functions available with MSVC 2013. check-in: 07ecc4ebfa user: mistachkin tags: vs2013
01:39
Make sure to include the necessary LINQ related files when compiling the System.Data.SQLite project for the .NET Framework 4.5.1. check-in: 442cf54801 user: mistachkin tags: vs2013
Changes
Unified Diff Ignore Whitespace Patch
Changes to SQLite.Interop/src/contrib/extension-functions.c.
89
90
91
92
93
94
95



96
97
98
99


100
101
102
103
104


105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

*/

/* #include "config.h" */
#include <windows.h>

/* #define COMPILE_SQLITE_EXTENSIONS_AS_LOADABLE_MODULE */



/* #define HAVE_ACOSH 1 */
/* #define HAVE_ASINH 1 */
/* #define HAVE_ATANH 1 */
#define HAVE_SINH 1


#define HAVE_COSH 1
#define HAVE_TANH 1
#define HAVE_LOG10 1
/* #define HAVE_ISBLANK 1 */
#define SQLITE_SOUNDEX 1


#define HAVE_TRIM 1		/* LMH 2007-03-25 if sqlite has trim functions */

#ifdef COMPILE_SQLITE_EXTENSIONS_AS_LOADABLE_MODULE
#include "../core/sqlite3ext.h"
SQLITE_EXTENSION_INIT1
#else
#include "../core/sqlite3.h"
#endif

#include <ctype.h>
/* relicoder */
#include <math.h>
#include <string.h>
#include <stdio.h>

#if !defined(_WIN32_WCE) || defined(HAVE_ERRNO_H)
#include <errno.h>		/* LMH 2007-03-25 */
#else
int errno;
#define strerror(x) ""
#endif

#include <stdlib.h>
#include <assert.h>

#ifndef _MAP_H_
#define _MAP_H_







>
>
>
|
|
|
|
>
>
|
|
|
|
|
>
>
|


















|







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

*/

/* #include "config.h" */
#include <windows.h>

/* #define COMPILE_SQLITE_EXTENSIONS_AS_LOADABLE_MODULE */

/* NOTE: More functions are available with MSVC 2013. */
#if defined(_MSC_VER) && _MSC_VER >= 1800
#  define HAVE_ACOSH		1
#  define HAVE_ASINH		1
#  define HAVE_ATANH		1
#  define HAVE_ISBLANK		1
#endif

#define HAVE_SINH		1
#define HAVE_COSH		1
#define HAVE_TANH		1
#define HAVE_LOG10		1
#define SQLITE_SOUNDEX		1

/* LMH 2007-03-25 if SQLite has trim functions */
#define HAVE_TRIM		1

#ifdef COMPILE_SQLITE_EXTENSIONS_AS_LOADABLE_MODULE
#include "../core/sqlite3ext.h"
SQLITE_EXTENSION_INIT1
#else
#include "../core/sqlite3.h"
#endif

#include <ctype.h>
/* relicoder */
#include <math.h>
#include <string.h>
#include <stdio.h>

#if !defined(_WIN32_WCE) || defined(HAVE_ERRNO_H)
#include <errno.h>		/* LMH 2007-03-25 */
#else
int errno;
#define strerror(x)		""
#endif

#include <stdlib.h>
#include <assert.h>

#ifndef _MAP_H_
#define _MAP_H_