Commit 82ac1f7678d30cbb3ff8da8921131582da691567

Sven Strickroth 2013-02-27T19:48:02

Win32: Use constants in version resource definitions where possible Signed-off-by: Sven Strickroth <email@cs-ware.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/win32/git2.rc b/src/win32/git2.rc
index 892008b..4369132 100644
--- a/src/win32/git2.rc
+++ b/src/win32/git2.rc
@@ -12,13 +12,13 @@ VS_VERSION_INFO		VERSIONINFO	MOVEABLE IMPURE LOADONCALL DISCARDABLE
   PRODUCTVERSION	LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
   FILEFLAGSMASK		VS_FFI_FILEFLAGSMASK
 #ifdef _DEBUG
-  FILEFLAGS		1
+  FILEFLAGS		VS_FF_DEBUG
 #else
   FILEFLAGS		0
 #endif
   FILEOS		VOS_NT_WINDOWS32
   FILETYPE		VFT_DLL
-  FILESUBTYPE		0	// not used
+  FILESUBTYPE	VFT2_UNKNOWN
 BEGIN
   BLOCK "StringFileInfo"
   BEGIN