Fixed tests to compile with MS C on Windows.

This commit is contained in:
Patrik Stridvall 2002-10-29 21:24:35 +00:00 committed by Alexandre Julliard
parent 7d226139e9
commit fc832f0fcf
4 changed files with 30 additions and 7 deletions

View File

@ -18,10 +18,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "wine/test.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];

View File

@ -27,10 +27,14 @@
#include "winuser.h"
#ifndef IDI_APPLICATIONA
#define IDI_APPLICATIONA IDI_APPLICATION
# define IDI_APPLICATIONA IDI_APPLICATION
#endif
#ifndef IDC_ARROWA
#define IDC_ARROWA IDC_ARROW
# define IDC_ARROWA IDC_ARROW
#endif
#ifndef SPI_GETDESKWALLPAPER
# define SPI_GETDESKWALLPAPER 0x0073
#endif
#define eq(received, expected, label, type) \

View File

@ -23,11 +23,23 @@
#include <stdlib.h>
#include <stdio.h>
#include "wine/test.h"
#include "winbase.h"
#include "wingdi.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 hwndMain, hwndMain2;

View File

@ -1,8 +1,12 @@
#include "wine/test.h"
#include <stdio.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wininet.h"
#include "wine/test.h"
int goon = 0;
VOID WINAPI callback(