mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 04:28:26 +00:00
Export TLS symbols properly in Win32
There was no export definition for GIT_EXTERN_TLS() under MSVC. Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
2a18a792e3
commit
11f6646f03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user