diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/git2/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/git2/common.h b/src/git2/common.h index 9d014c03..bbeec412 100644 --- a/src/git2/common.h +++ b/src/git2/common.h @@ -55,6 +55,8 @@ __attribute__((visibility("default"))) \ GIT_TLS \ type +#elif defined(_MSC_VER) +# define GIT_EXTERN_TLS(type) __declspec(dllexport) GIT_TLS type #else # define GIT_EXTERN_TLS(type) extern GIT_TLS type #endif |