diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-06-26 10:41:19 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-06-26 10:41:19 +0000 |
commit | 29bafeabcdfd107d56ae4659e5905cf0c61c79ee (patch) | |
tree | 646fbc2d5623f7886ef6824c5029ccba38902c2d /src/test_async.c | |
parent | 71bc31c68d1228c5ca8fcc6e50f5a77a91a06b97 (diff) | |
download | sqlite-29bafeabcdfd107d56ae4659e5905cf0c61c79ee.tar.gz sqlite-29bafeabcdfd107d56ae4659e5905cf0c61c79ee.zip |
Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311)
FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
Diffstat (limited to 'src/test_async.c')
-rw-r--r-- | src/test_async.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test_async.c b/src/test_async.c index 5c02a9fe6..7b48afe0a 100644 --- a/src/test_async.c +++ b/src/test_async.c @@ -10,7 +10,7 @@ ** ************************************************************************* ** -** $Id: test_async.c,v 1.44 2008/06/06 11:11:26 danielk1977 Exp $ +** $Id: test_async.c,v 1.45 2008/06/26 10:41:19 danielk1977 Exp $ ** ** This file contains an example implementation of an asynchronous IO ** backend for SQLite. @@ -117,7 +117,7 @@ ** This test uses pthreads and hence only works on unix and with ** a threadsafe build of SQLite. */ -#if OS_UNIX && SQLITE_THREADSAFE +#if SQLITE_OS_UNIX && SQLITE_THREADSAFE /* ** This demo uses pthreads. If you do not have a pthreads implementation @@ -1696,7 +1696,7 @@ static int testAsyncWait( } -#endif /* OS_UNIX and SQLITE_THREADSAFE */ +#endif /* SQLITE_OS_UNIX and SQLITE_THREADSAFE */ /* ** This routine registers the custom TCL commands defined in this @@ -1704,7 +1704,7 @@ static int testAsyncWait( ** of this module. */ int Sqlitetestasync_Init(Tcl_Interp *interp){ -#if OS_UNIX && SQLITE_THREADSAFE +#if SQLITE_OS_UNIX && SQLITE_THREADSAFE Tcl_CreateObjCommand(interp,"sqlite3async_enable",testAsyncEnable,0,0); Tcl_CreateObjCommand(interp,"sqlite3async_halt",testAsyncHalt,0,0); Tcl_CreateObjCommand(interp,"sqlite3async_delay",testAsyncDelay,0,0); @@ -1712,6 +1712,6 @@ int Sqlitetestasync_Init(Tcl_Interp *interp){ Tcl_CreateObjCommand(interp,"sqlite3async_wait",testAsyncWait,0,0); Tcl_LinkVar(interp, "sqlite3async_trace", (char*)&sqlite3async_trace, TCL_LINK_INT); -#endif /* OS_UNIX and SQLITE_THREADSAFE */ +#endif /* SQLITE_OS_UNIX and SQLITE_THREADSAFE */ return TCL_OK; } |