Fixed tests to compile with MS C on Windows.
This commit is contained in:
parent
7d226139e9
commit
fc832f0fcf
|
@ -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];
|
||||
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue