diff options
author | drh <drh@noemail.net> | 2009-01-09 21:41:17 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-01-09 21:41:17 +0000 |
commit | d2cb50b74c4776a5de767a54ff9b23950caaddb5 (patch) | |
tree | 2d996df7cee2792be48bf25e55f3745d96d26482 /src/test_config.c | |
parent | 0371f1b243c2d20bfaf7518939cb482a5380ea38 (diff) | |
download | sqlite-d2cb50b74c4776a5de767a54ff9b23950caaddb5.tar.gz sqlite-d2cb50b74c4776a5de767a54ff9b23950caaddb5.zip |
Coverage improvements in pragma.c. Change the __DARWIN__ macro to __APPLE__,
which is available by default on Leopard. (CVS 6153)
FossilOrigin-Name: 64c56226b91e57883c8059f65330318e53376b8a
Diffstat (limited to 'src/test_config.c')
-rw-r--r-- | src/test_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test_config.c b/src/test_config.c index d6662f671..565813856 100644 --- a/src/test_config.c +++ b/src/test_config.c @@ -16,7 +16,7 @@ ** The focus of this file is providing the TCL testing layer ** access to compile-time constants. ** -** $Id: test_config.c,v 1.45 2008/11/29 02:20:27 drh Exp $ +** $Id: test_config.c,v 1.46 2009/01/09 21:41:17 drh Exp $ */ #include "sqliteLimit.h" @@ -393,13 +393,13 @@ Tcl_SetVar2(interp, "sqlite_options", "long_double", #endif #if !defined(SQLITE_ENABLE_LOCKING_STYLE) -# if defined(__DARWIN__) +# if defined(__APPLE__) # define SQLITE_ENABLE_LOCKING_STYLE 1 # else # define SQLITE_ENABLE_LOCKING_STYLE 0 # endif #endif -#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__) +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) Tcl_SetVar2(interp,"sqlite_options","lock_proxy_pragmas","1",TCL_GLOBAL_ONLY); #else Tcl_SetVar2(interp,"sqlite_options","lock_proxy_pragmas","0",TCL_GLOBAL_ONLY); |