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,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