Commit fc832f0f authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed tests to compile with MS C on Windows.

parent 7d226139
...@@ -18,10 +18,13 @@ ...@@ -18,10 +18,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "wine/test.h"
#include <stdio.h> #include <stdio.h>
#include <winbase.h>
#include <shellapi.h> #include "winbase.h"
#include "wtypes.h"
#include "shellapi.h"
#include "wine/test.h"
CHAR CURR_DIR[MAX_PATH]; CHAR CURR_DIR[MAX_PATH];
......
...@@ -27,10 +27,14 @@ ...@@ -27,10 +27,14 @@
#include "winuser.h" #include "winuser.h"
#ifndef IDI_APPLICATIONA #ifndef IDI_APPLICATIONA
#define IDI_APPLICATIONA IDI_APPLICATION # define IDI_APPLICATIONA IDI_APPLICATION
#endif #endif
#ifndef IDC_ARROWA #ifndef IDC_ARROWA
#define IDC_ARROWA IDC_ARROW # define IDC_ARROWA IDC_ARROW
#endif
#ifndef SPI_GETDESKWALLPAPER
# define SPI_GETDESKWALLPAPER 0x0073
#endif #endif
#define eq(received, expected, label, type) \ #define eq(received, expected, label, type) \
......
...@@ -23,11 +23,23 @@ ...@@ -23,11 +23,23 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "wine/test.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "wine/test.h"
#ifndef IDC_ARROWA
# define IDC_ARROWA IDC_ARROW
#endif
#ifndef SPI_GETDESKWALLPAPER
#define SPI_GETDESKWALLPAPER 0x0073
#endif
#define LONG_PTR INT_PTR
#define ULONG_PTR UINT_PTR
static HWND (WINAPI *pGetAncestor)(HWND,UINT); static HWND (WINAPI *pGetAncestor)(HWND,UINT);
static HWND hwndMain, hwndMain2; static HWND hwndMain, hwndMain2;
......
#include "wine/test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wininet.h" #include "wininet.h"
#include "wine/test.h"
int goon = 0; int goon = 0;
VOID WINAPI callback( VOID WINAPI callback(
......
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