Commit c03917c1 authored by Alexandre Julliard's avatar Alexandre Julliard

Define _WIN32_WINNT before including any headers.

parent e948b2bf
......@@ -17,11 +17,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define _WIN32_WINNT 0x0501 /* For SetWindowSubclass/etc */
#include <assert.h>
#include <stdarg.h>
#define _WIN32_WINNT 0x0501 /* For SetWindowSubclass/etc */
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -20,13 +20,13 @@
*
*/
/* ReplaceFile requires Windows 2000 or newer */
#define _WIN32_WINNT 0x0500
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>
/* ReplaceFile requires Windows 2000 or newer */
#define _WIN32_WINNT 0x0500
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
......
......@@ -18,11 +18,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define _WIN32_WINNT 0x500
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <windef.h>
#define _WIN32_WINNT 0x500
#include <winbase.h>
#include "wine/test.h"
......
......@@ -32,14 +32,14 @@
* we could check
*/
#include <stdio.h>
#include <assert.h>
/* Needed to get SEE_MASK_NOZONECHECKS with the PSDK */
#define NTDDI_WINXPSP1 0x05010100
#define NTDDI_VERSION NTDDI_WINXPSP1
#define _WIN32_WINNT 0x0501
#include <stdio.h>
#include <assert.h>
#include "wtypes.h"
#include "winbase.h"
#include "windef.h"
......
......@@ -18,12 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define _WIN32_WINNT 0x0501
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#define _WIN32_WINNT 0x0501
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define _WIN32_WINNT 0x0501 /* For WM_CHANGEUISTATE,QS_RAWINPUT */
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#define _WIN32_WINNT 0x0501 /* For WM_CHANGEUISTATE,QS_RAWINPUT */
#include "windef.h"
#include "winbase.h"
#include "wingdi.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