Commit 25e9b4dd by Vicent Marti

Do proper symbol exports on MSVC

Yes, if you are wondering why the shared library was
failing to build under MSVC, it's because it was empty.

Oh wow.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent 322086f9
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
# define GIT_EXTERN(type) extern \ # define GIT_EXTERN(type) extern \
__attribute__((visibility("default"))) \ __attribute__((visibility("default"))) \
type type
#elif defined(_MSC_VER)
# define GIT_EXTERN(type) __declspec(dllexport) type
#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