From 1265bbba2efd8352512d527838c6f6803edf40c5 Mon Sep 17 00:00:00 2001 From: Indev Date: Mon, 23 Feb 2026 19:12:42 +0300 Subject: [PATCH] Rename I_LockMutex back into I_lock_mutex for now --- src/console.c | 4 ++-- src/m_menu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/console.c b/src/console.c index 09ac2e36d..7276b59c8 100644 --- a/src/console.c +++ b/src/console.c @@ -50,8 +50,8 @@ I_mutex con_mutex; // to avoid infinite SIGABRT recursion in the signal handler // due to poisoned locks or mach-o kernel not supporting locks in signals // or something like that. idk -# define Lock_state() if (!I_In_Exiting_Signal_Handler()) { I_LockMutex(&con_mutex); } -# define Unlock_state() if (!I_In_Exiting_Signal_Handler()) { I_UnlockMutex(con_mutex); } +# define Lock_state() if (!I_In_Exiting_Signal_Handler()) { I_lock_mutex(&con_mutex); } +# define Unlock_state() if (!I_In_Exiting_Signal_Handler()) { I_unlock_mutex(con_mutex); } #else /*HAVE_THREADS*/ # define Lock_state() # define Unlock_state() diff --git a/src/m_menu.c b/src/m_menu.c index f2b3ac1bb..79879032e 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4020,8 +4020,8 @@ I_mutex replayquerymutex; // to avoid infinite SIGABRT recursion in the signal handler // due to poisoned locks or mach-o kernel not supporting locks in signals // or something like that. idk -# define Lock_search_state() if (!I_In_Exiting_Signal_Handler()) { I_LockMutex(&replayquerymutex); } -# define Unlock_search_state() if (!I_In_Exiting_Signal_Handler()) { I_UnlockMutex(replayquerymutex); } +# define Lock_search_state() if (!I_In_Exiting_Signal_Handler()) { I_lock_mutex(&replayquerymutex); } +# define Unlock_search_state() if (!I_In_Exiting_Signal_Handler()) { I_unlock_mutex(replayquerymutex); } #else /*HAVE_THREADS*/ # define Lock_search_state() # define Unlock_search_state()