Define _WIN32_WINNT before including any headers.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 11:10:16 +0000 (12:10 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 11:10:16 +0000 (12:10 +0100)
dlls/comctl32/tests/subclass.c
dlls/kernel32/tests/file.c
dlls/kernel32/tests/sync.c
dlls/shell32/tests/shlexec.c
dlls/user32/tests/broadcast.c
dlls/user32/tests/msg.c

index 9c879e3039529886807bd35a760d8f74355ea760..c225f726fe724d38b15aaccc3f1fee0c38fb75bd 100644 (file)
  * 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"
index b0450252c196597aa3041ec0eda3e628d9875c2d..338ba464ec5df3cdbac036a495132f802cb9dd04 100644 (file)
  *
  */
 
+/* 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"
index 9f811bca9dee7ba38d0b467e31c8afd46a470401..bb9afe35823f66da791722da28afd8cad96f7257 100644 (file)
  * 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"
index ac7915a590c9d6faf849ec2ace0af9dff5d2c77d..80ccdf7c3ad0d44ffce4124a350b49a06463118f 100644 (file)
  *   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"
index ae9cd29ee6514010682d15293a8063790ec1afb2..b0990e37fa9708a4756e81969be591e0d7b23915 100644 (file)
  * 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"
index 2c3dea5e7bae8fd0c4f45ae66a79bb8cde250998..f4496a7dc4e0c32358ecf952b1ccee168e2b9eb2 100644 (file)
  * 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"