Commit fc4cd637 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent bfa1937e
......@@ -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
......
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
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