1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix the TCL test harness so that it compiles and runs on OSX with

SQLITE_ENABLE_LOCKING_STYLE. (CVS 6017)

FossilOrigin-Name: 561d5de16ec07546a3bb691f308fb2495a0d0a43
This commit is contained in:
drh
2008-12-11 02:56:07 +00:00
parent 15b024c22a
commit 103fe74315
4 changed files with 13 additions and 12 deletions

View File

@@ -43,7 +43,7 @@
** * Definitions of sqlite3_vfs objects for all locking methods
** plus implementations of sqlite3_os_init() and sqlite3_os_end().
**
** $Id: os_unix.c,v 1.231 2008/12/10 19:26:24 drh Exp $
** $Id: os_unix.c,v 1.232 2008/12/11 02:56:07 drh Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
@@ -2936,7 +2936,7 @@ static int unixFileSize(sqlite3_file *id, i64 *pSize){
return SQLITE_OK;
}
#if SQLITE_ENABLE_LOCKING_MODE && defined(__DARWIN__)
#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__)
/*
** Handler for proxy-locking file-control verbs. Defined below in the
** proxying locking division.
@@ -3451,7 +3451,7 @@ static int getTempname(int nBuf, char *zBuf){
return SQLITE_OK;
}
#if SQLITE_ENABLE_LOCKING_MODE && defined(__DARWIN__)
#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__)
/*
** Routine to transform a unixFile into a proxy-locking unixFile.
** Implementation in the proxy-lock division, but used by unixOpen()