summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-14 22:15:53 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-14 22:15:53 +0200
commit79fdde494f26cda54e7ed285e7ad82eef51245e1 (patch)
tree87d112cd57b495b29e8a32af1164eac276880f39
parent1c3a5a03020f72481098780e81fc2c79a0b733db (diff)
downloadlibgit2-79fdde494f26cda54e7ed285e7ad82eef51245e1.tar.gz
Revert "Specifiy dllimport to MSVC if we're not building libgit2.dll"
This reverts commit 1093e2de22f6ca245b09d758a3510899a8362048.
-rw-r--r--include/git2/common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index a16cf43d5..0e9379804 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -32,11 +32,7 @@
__attribute__((visibility("default"))) \
type
#elif defined(_MSC_VER)
-# ifdef git2_EXPORTS /* defined by cmake */
-# define GIT_EXTERN(type) __declspec(dllexport) type
-# else
-# define GIT_EXTERN(type) __declspec(dllimport) type
-# endif
+# define GIT_EXTERN(type) __declspec(dllexport) type
#else
# define GIT_EXTERN(type) extern type
#endif