Serge Gautherie : include: Remove now useless forced WINVER defines.

Alexandre Julliard julliard at winehq.org
Thu Mar 19 16:27:47 CDT 2020


Module: wine
Branch: master
Commit: d0fd12b90946865a92f3fd016ccac13e5c4fdf54
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d0fd12b90946865a92f3fd016ccac13e5c4fdf54

Author: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Date:   Wed Mar 18 23:41:24 2020 +0100

include: Remove now useless forced WINVER defines.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d8/tests/device.c      | 1 -
 dlls/d3d9/tests/device.c      | 1 -
 dlls/gdi32/tests/dc.c         | 2 --
 dlls/user32/tests/dialog.c    | 2 --
 dlls/user32/tests/msg.c       | 3 ---
 dlls/user32/tests/sysparams.c | 4 ----
 6 files changed, 13 deletions(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 42eee28217..2e182e6192 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -21,7 +21,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WINVER 0x0602 /* for CURSOR_SUPPRESSED */
 #include <stdlib.h>
 #define COBJMACROS
 #include <initguid.h>
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 16f42216cf..afbd13a398 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -22,7 +22,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WINVER 0x0602 /* for CURSOR_SUPPRESSED */
 #define COBJMACROS
 #include <d3d9.h>
 #include "utils.h"
diff --git a/dlls/gdi32/tests/dc.c b/dlls/gdi32/tests/dc.c
index c8a903e56b..6640134d1f 100644
--- a/dlls/gdi32/tests/dc.c
+++ b/dlls/gdi32/tests/dc.c
@@ -19,8 +19,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-
-#define WINVER 0x0501 /* request latest DEVMODE */
 #define NONAMELESSSTRUCT
 #define NONAMELESSUNION
 
diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c
index 2a7d71f67a..5a6a0bf5fb 100644
--- a/dlls/user32/tests/dialog.c
+++ b/dlls/user32/tests/dialog.c
@@ -29,8 +29,6 @@
  * normally be met.
  */
 
-#define WINVER 0x0600 /* For NONCLIENTMETRICS with padding */
-
 #include <assert.h>
 #include <stdio.h>
 #include <stdarg.h>
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 303a026cda..07f21607e8 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -20,9 +20,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define _WIN32_WINNT 0x0600 /* For WM_CHANGEUISTATE,QS_RAWINPUT,WM_DWMxxxx */
-#define WINVER 0x0600 /* for WM_GETTITLEBARINFOEX */
-
 #include <assert.h>
 #include <limits.h>
 #include <stdarg.h>
diff --git a/dlls/user32/tests/sysparams.c b/dlls/user32/tests/sysparams.c
index cf12725a45..b37af4d420 100644
--- a/dlls/user32/tests/sysparams.c
+++ b/dlls/user32/tests/sysparams.c
@@ -17,10 +17,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define _WIN32_WINNT 0x0600 /* For SPI_GETMOUSEHOVERWIDTH and more */
-#define _WIN32_IE 0x0700
-#define WINVER 0x0600 /* For COLOR_MENUBAR, NONCLIENTMETRICS with padding */
-
 #include <assert.h>
 #include <stdlib.h>
 #include <stdarg.h>




More information about the wine-cvs mailing list