wined3d: add version resource

Austin English austinenglish at gmail.com
Fri Oct 30 17:03:08 CDT 2009


Fixes bug 18139.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/wined3d/Makefile.in b/dlls/wined3d/Makefile.in
index cdafc91..88e37dd 100644
--- a/dlls/wined3d/Makefile.in
+++ b/dlls/wined3d/Makefile.in
@@ -44,6 +44,8 @@ C_SRCS = \
 	volumetexture.c \
 	wined3d_main.c
 
+RC_SRCS = version.rc
+
 @MAKE_DLL_RULES@
 
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/wined3d/version.rc b/dlls/wined3d/version.rc
new file mode 100644
index 0000000..0439375
--- /dev/null
+++ b/dlls/wined3d/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2009 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "config.h" /* Needed to get PACKAGE_VERSION */
+
+#define WINE_FILEDESCRIPTION_STR "Wine D3D"
+#define WINE_FILENAME_STR "wined3d.dll"
+#define WINE_FILEVERSION_STR PACKAGE_VERSION
+#define WINE_PRODUCTVERSION_STR PACKAGE_VERSION
+#define WINE_PRODUCTNAME_STR "Wine D3D"
+
+#include "wine/wine_common_ver.rc"
-- 
1.5.4.3


More information about the wine-patches mailing list