Commit 3369c532 authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Define the required Windows version before including anything.

parent eaf78ead
......@@ -29,12 +29,12 @@
* normally be met.
*/
#define WINVER 0x0600 /* For NONCLIENTMETRICS with padding */
#include <assert.h>
#include <stdio.h>
#include <stdarg.h>
#define WINVER 0x0600 /* For NONCLIENTMETRICS with padding */
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
......
......@@ -17,16 +17,15 @@
* 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>
#include <stdio.h>
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600 /* For SPI_GETMOUSEHOVERWIDTH and more */
#define _WIN32_IE 0x0700
#define WINVER 0x0600 /* For COLOR_MENUBAR, NONCLIENTMETRICS with padding */
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment