version patch 1

Ove Kaaven ovehk at ping.uio.no
Sun Apr 15 09:50:49 CDT 2001


Log:
Ove Kaaven <ovek at transgaming.com>
Generalize the Wine version resource template a bit.

Index: include/wine/wine_common_ver.rc
===================================================================
RCS file: /cvsroot/winex/wine/include/wine/wine_common_ver.rc,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 wine_common_ver.rc
--- include/wine/wine_common_ver.rc	2001/03/20 08:37:44	1.1.1.2
+++ include/wine/wine_common_ver.rc	2001/04/15 14:45:43
@@ -22,9 +22,21 @@
 #define WINE_FILENAME_STR ""
 #endif
 
+#ifndef WINE_PRODUCTVERSION
+#define WINE_PRODUCTVERSION 1,0,0,0
+#endif
+
+#ifndef WINE_PRODUCTVERSION_STR
+#define WINE_PRODUCTVERSION_STR "1.0"
+#endif
+
+#ifndef WINE_PRODUCTNAME_STR
+#define WINE_PRODUCTNAME_STR "Wine"
+#endif
+
 VS_VERSION_INFO VERSIONINFO
 FILEVERSION    WINE_FILEVERSION
-PRODUCTVERSION 1,0,0,0
+PRODUCTVERSION WINE_PRODUCTVERSION
 FILEFLAGSMASK  0
 FILEFLAGS      0
 FILEOS         VOS_UNKNOWN
@@ -42,8 +54,8 @@
 	    VALUE "LegalCopyright", "Copyright (c) 1993-2001 the Wine project authors " \
 				    "(see the file AUTHORS for a complete list)"
 	    VALUE "OriginalFilename", WINE_FILENAME_STR
-	    VALUE "ProductName", "Wine"
-	    VALUE "ProductVersion", "1.0"
+	    VALUE "ProductName", WINE_PRODUCTNAME_STR
+	    VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
 	}
     }
     BLOCK "VarFileInfo"





More information about the wine-patches mailing list