tests: Moved some compatibility defines to wine/test.h.

This commit is contained in:
Alexandre Julliard 2006-09-13 11:01:39 +02:00
parent bfa1937e31
commit fc4cd637d9
4 changed files with 7 additions and 16 deletions

View File

@ -23,14 +23,6 @@
#include "fci.h"
#include "wine/test.h"
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES 0xffffffff
#endif
#ifndef INVALID_SET_FILE_POINTER
#define INVALID_SET_FILE_POINTER 0xffffffff
#endif
/* make the max size large so there is only one cab file */
#define MEDIA_SIZE 999999999
#define FOLDER_THRESHOLD 900000

View File

@ -30,10 +30,6 @@
static const char msifile[] = "winetest.msi";
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES 0xffffffff
#endif
static UINT run_query( MSIHANDLE hdb, const char *query )
{
MSIHANDLE hview = 0;

View File

@ -28,10 +28,6 @@
#include "wine/test.h"
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES 0xffffffff
#endif
#ifndef FOF_NORECURSION
#define FOF_NORECURSION 0x1000
#endif

View File

@ -36,6 +36,13 @@
#error wine/debug.h should not be used in Wine tests
#endif
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES ((DWORD)~0UL)
#endif
#ifndef INVALID_SET_FILE_POINTER
#define INVALID_SET_FILE_POINTER ((DWORD)~0UL)
#endif
/* debug level */
extern int winetest_debug;