Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2012-11-14 00:48:10 +0400
committerEdward Thomson <ethomson@microsoft.com>2012-11-14 00:48:10 +0400
commita8527429dc48ce0f9b63789715ed8eaa9b1abf0d (patch)
tree6f6f4ce640989a4f78d8f3ca7d1b39b9ac10ceef /src/global.h
parent7ebefd22e79e92542d68743af933c1a188f4d5a3 (diff)
unload dll / destroy hash ctxs at shutdown
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
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 {