mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Minor fixes to tclsqlite.c to promote portability.
FossilOrigin-Name: dd934f032fa6fc790a951006512e3ed76a5f2930858932918eafdbe3ceec4620
This commit is contained in:
@@ -341,7 +341,7 @@ static int SQLITE_TCLAPI incrblobInput(
|
||||
*/
|
||||
static int SQLITE_TCLAPI incrblobOutput(
|
||||
ClientData instanceData,
|
||||
CONST char *buf,
|
||||
const char *buf,
|
||||
int toWrite,
|
||||
int *errorCodePtr
|
||||
){
|
||||
@@ -1843,7 +1843,8 @@ static Tcl_Obj *dbEvalColumnValue(DbEvalContext *p, int iCol){
|
||||
** are 8.6 or newer, the code still tests the Tcl version at runtime.
|
||||
** This allows stubs-enabled builds to be used with older Tcl libraries.
|
||||
*/
|
||||
#if TCL_MAJOR_VERSION>8 || (TCL_MAJOR_VERSION==8 && TCL_MINOR_VERSION>=6)
|
||||
#if TCL_MAJOR_VERSION>8 || !defined(TCL_MINOR_VERSION) \
|
||||
|| TCL_MAJOR_VERSION>=6
|
||||
# define SQLITE_TCL_NRE 1
|
||||
static int DbUseNre(void){
|
||||
int major, minor;
|
||||
|
Reference in New Issue
Block a user