diff options
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 { |