[PATCH 1/3] dinput: Move the version resource to a separate file.
Zebediah Figura
z.figura12 at gmail.com
Wed Dec 19 15:41:11 CST 2018
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/dinput/Makefile.in | 4 +++-
dlls/dinput/dinput.rc | 9 ---------
dlls/dinput/version.rc | 27 +++++++++++++++++++++++++++
3 files changed, 30 insertions(+), 10 deletions(-)
create mode 100644 dlls/dinput/version.rc
diff --git a/dlls/dinput/Makefile.in b/dlls/dinput/Makefile.in
index b1107ee7be..3b046d61d4 100644
--- a/dlls/dinput/Makefile.in
+++ b/dlls/dinput/Makefile.in
@@ -19,4 +19,6 @@ C_SRCS = \
IDL_SRCS = dinput_classes.idl
-RC_SRCS = dinput.rc
+RC_SRCS = \
+ dinput.rc \
+ version.rc
diff --git a/dlls/dinput/dinput.rc b/dlls/dinput/dinput.rc
index 54eae6cf7a..74be033e38 100644
--- a/dlls/dinput/dinput.rc
+++ b/dlls/dinput/dinput.rc
@@ -18,15 +18,6 @@
#include "resource.h"
-#define WINE_FILEDESCRIPTION_STR "Wine DirectInput"
-#define WINE_FILENAME_STR "dinput.dll"
-#define WINE_FILEVERSION 5,1,2600,881
-#define WINE_FILEVERSION_STR "5.1.2600.881"
-#define WINE_PRODUCTVERSION 5,1,2600,881
-#define WINE_PRODUCTVERSION_STR "5.1"
-
-#include "wine/wine_common_ver.rc"
-
#pragma makedep po
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
diff --git a/dlls/dinput/version.rc b/dlls/dinput/version.rc
new file mode 100644
index 0000000000..2cd531902e
--- /dev/null
+++ b/dlls/dinput/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2001 Ove Kaaven
+ *
+ * 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine DirectInput"
+#define WINE_FILENAME_STR "dinput.dll"
+#define WINE_FILEVERSION 5,1,2600,881
+#define WINE_FILEVERSION_STR "5.1.2600.881"
+#define WINE_PRODUCTVERSION 5,1,2600,881
+#define WINE_PRODUCTVERSION_STR "5.1"
+
+#include "wine/wine_common_ver.rc"
+
--
2.14.1
More information about the wine-devel
mailing list