aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_unix.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-10-15 13:36:21 +0000
committerstephan <stephan@noemail.net>2023-10-15 13:36:21 +0000
commit24f6baca164bde519de34be8a95bf018c2c6e445 (patch)
tree72da6cb82687382edebe5af66c362843a1ab1158 /src/mutex_unix.c
parent5698e62f9ed056659133d486ef6d12ba484c4e38 (diff)
downloadsqlite-24f6baca164bde519de34be8a95bf018c2c6e445.tar.gz
sqlite-24f6baca164bde519de34be8a95bf018c2c6e445.zip
Change 3 instance of #if SQLITE_ENABLE_API_ARMOR to #ifdef for consistency with how it is normally used.
FossilOrigin-Name: dd766eeb59fec71627dd8ad8f120875b96fda455c6401e5671e086b785e2b2bc
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r--src/mutex_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c
index ac4331a67..beae877f9 100644
--- a/src/mutex_unix.c
+++ b/src/mutex_unix.c
@@ -223,7 +223,7 @@ static sqlite3_mutex *pthreadMutexAlloc(int iType){
*/
static void pthreadMutexFree(sqlite3_mutex *p){
assert( p->nRef==0 );
-#if SQLITE_ENABLE_API_ARMOR
+#ifdef SQLITE_ENABLE_API_ARMOR
if( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE )
#endif
{