Revert "Specifiy dllimport to MSVC if we're not building libgit2.dll"

This reverts commit 1093e2de22.
This commit is contained in:
Vicent Martí 2012-05-14 22:15:53 +02:00
parent 1c3a5a0302
commit 79fdde494f

View File

@ -32,12 +32,8 @@
__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 #else
# define GIT_EXTERN(type) __declspec(dllimport) type
# endif
#else
# define GIT_EXTERN(type) extern type # define GIT_EXTERN(type) extern type
#endif #endif