aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c7
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;