summaryrefslogtreecommitdiff
path: root/src/runtime.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-11-21 21:31:41 +0000
committerGitHub <noreply@github.com>2020-11-21 21:31:41 +0000
commita6d151bfed31490fbd34e79db59177a47ec9ee5e (patch)
treee5e9daa4e030fbd1d0f7dbb23b34bf666294b43e /src/runtime.c
parent4f4f3bfd511ea14fe0dea361a40dac5d55b3f91d (diff)
parentaa532e298937c7eb863b83c766cdabbf8be4fec9 (diff)
downloadlibgit2-a6d151bfed31490fbd34e79db59177a47ec9ee5e.tar.gz
Merge pull request #5690 from lhchavez/fix-filelimit-compile-error
Fix the `-DTHREADSAFE=OFF` build
Diffstat (limited to 'src/runtime.c')
-rw-r--r--src/runtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime.c b/src/runtime.c
index 56110c49a..f8e3e3b27 100644
--- a/src/runtime.c
+++ b/src/runtime.c
@@ -103,8 +103,8 @@ GIT_INLINE(int) init_unlock(void)
# error unknown threading model
#else
-# define mutex_lock() 0
-# define mutex_unlock() 0
+# define init_lock() git___noop()
+# define init_unlock() git___noop()
#endif