diff options
author | drh <drh@noemail.net> | 2010-10-05 18:22:47 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-10-05 18:22:47 +0000 |
commit | f7f55edb68b78f221f2459719d0a7d0f2b3c59ad (patch) | |
tree | 84df9768ddef599eaebd6f68184ad703e4420a91 /src/os_unix.c | |
parent | 96b958afae945a9841b54e48b4f8fa494a732c50 (diff) | |
download | sqlite-f7f55edb68b78f221f2459719d0a7d0f2b3c59ad.tar.gz sqlite-f7f55edb68b78f221f2459719d0a7d0f2b3c59ad.zip |
Do not embedded #if inside an assert() statement.
Fix for check-in [dca8763872a]
FossilOrigin-Name: d7d4a94fc1209fd32d7c8e20ac83eb169b81ee25
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index a28db0bf0..2b38fd6ca 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -4081,11 +4081,12 @@ static int fillInUnixFile( ** exception is when opening the proxy "conch" file in builds that ** include the special Apple locking styles. */ - assert( zFilename==0 || zFilename[0]=='/' #if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE - || pVfs->pAppData==(void*)&autolockIoFinder + assert( zFilename==0 || zFilename[0]=='/' + || pVfs->pAppData==(void*)&autolockIoFinder ); +#else + assert( zFilename==0 || zFilename[0]=='/' ); #endif - ); OSTRACE(("OPEN %-3d %s\n", h, zFilename)); pNew->h = h; |