Unverified Commit c964f73d by Edward Thomson Committed by GitHub

Merge pull request #5664 from lhchavez/define-non-threadsafe-git-load

Define `git___load` when building with `-DTHREADSAFE=OFF`
parents a027efbb fa3daa82
......@@ -311,6 +311,11 @@ GIT_INLINE(volatile void *) git___swap(
return old;
}
GIT_INLINE(volatile void *) git___load(void * volatile *ptr)
{
return *ptr;
}
#ifdef GIT_ARCH_64
GIT_INLINE(int64_t) git_atomic64_add(git_atomic64 *a, int64_t addend)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment