diff options
author | Edward Thomson <ethomson@microsoft.com> | 2012-11-14 00:48:10 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2012-11-14 00:48:10 +0400 |
commit | a8527429dc48ce0f9b63789715ed8eaa9b1abf0d (patch) | |
tree | 6f6f4ce640989a4f78d8f3ca7d1b39b9ac10ceef /src/global.h | |
parent | 7ebefd22e79e92542d68743af933c1a188f4d5a3 (diff) |
unload dll / destroy hash ctxs at shutdown
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h index 1025cf7bc..b117714a8 100644 --- a/src/global.h +++ b/src/global.h @@ -14,6 +14,8 @@ # define GIT_MEMORY_BARRIER MemoryBarrier() #elif defined(GIT_THREADS) # define GIT_MEMORY_BARRIER __sync_synchronize() +#else +# define GIT_MEMORY_BARRIER /* noop */ #endif typedef struct { |