mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 20:29:27 +00:00
Revert "Specifiy dllimport to MSVC if we're not building libgit2.dll"
This reverts commit 1093e2de22
.
This commit is contained in:
parent
1c3a5a0302
commit
79fdde494f
@ -32,11 +32,7 @@
|
|||||||
__attribute__((visibility("default"))) \
|
__attribute__((visibility("default"))) \
|
||||||
type
|
type
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
# ifdef git2_EXPORTS /* defined by cmake */
|
# define GIT_EXTERN(type) __declspec(dllexport) type
|
||||||
# define GIT_EXTERN(type) __declspec(dllexport) type
|
|
||||||
# else
|
|
||||||
# define GIT_EXTERN(type) __declspec(dllimport) type
|
|
||||||
# endif
|
|
||||||
#else
|
#else
|
||||||
# define GIT_EXTERN(type) extern type
|
# define GIT_EXTERN(type) extern type
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user