Commit 79fdde49 by Vicent Martí

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

This reverts commit 1093e2de.
parent 1c3a5a03
...@@ -32,11 +32,7 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment