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

This commit is contained in:
Alexandre Julliard 2013-02-18 12:31:50 +01:00
parent eaf78eadf0
commit 3369c53202
2 changed files with 6 additions and 7 deletions

View File

@ -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"

View File

@ -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"