summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-18 18:25:14 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-03-18 18:25:14 -0400
commit523526e55ddd65ae42274f9a52f0327693a11941 (patch)
treea6cf0eb947bac7db2418a2bdb3e8399aa12f8c07
parent7568bdf4abf8c99c4bf0a87ff4ce6967c333e70a (diff)
downloadlibgit2-523526e55ddd65ae42274f9a52f0327693a11941.tar.gz
win32 resource: allow custom comments field in DLL
-rw-r--r--src/win32/git2.rc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/win32/git2.rc b/src/win32/git2.rc
index b2e59807b..3571bc683 100644
--- a/src/win32/git2.rc
+++ b/src/win32/git2.rc
@@ -2,7 +2,11 @@
#include "../../include/git2/version.h"
#ifndef LIBGIT2_FILENAME
-# define LIBGIT2_FILENAME "git2"
+# define LIBGIT2_FILENAME "git2"
+#endif
+
+#ifndef LIBGIT2_COMMENTS
+# define LIBGIT2_COMMENTS "For more information visit http://libgit2.github.com/"
#endif
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
@@ -30,7 +34,7 @@ BEGIN
VALUE "OriginalFilename", LIBGIT2_FILENAME ".dll\0"
VALUE "ProductName", "libgit2\0"
VALUE "ProductVersion", LIBGIT2_VERSION "\0"
- VALUE "Comments", "For more information visit http://libgit2.github.com/\0"
+ VALUE "Comments", LIBGIT2_COMMENTS "\0"
END
END
BLOCK "VarFileInfo"