diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-21 21:31:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-21 21:31:41 +0000 |
| commit | a6d151bfed31490fbd34e79db59177a47ec9ee5e (patch) | |
| tree | e5e9daa4e030fbd1d0f7dbb23b34bf666294b43e /src/runtime.c | |
| parent | 4f4f3bfd511ea14fe0dea361a40dac5d55b3f91d (diff) | |
| parent | aa532e298937c7eb863b83c766cdabbf8be4fec9 (diff) | |
| download | libgit2-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.c | 4 |
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 |
