Prevent use of MAKEPOINTS in Wine code.
This commit is contained in:
parent
a79c534c0e
commit
04e4bbc43b
|
@ -1756,7 +1756,11 @@ typedef struct
|
||||||
} BITMAPFILEHEADER, *PBITMAPFILEHEADER, *LPBITMAPFILEHEADER;
|
} BITMAPFILEHEADER, *PBITMAPFILEHEADER, *LPBITMAPFILEHEADER;
|
||||||
#include <poppack.h>
|
#include <poppack.h>
|
||||||
|
|
||||||
|
#ifdef __WINESRC__
|
||||||
|
#define MAKEPOINTS(l) do_not_use_MAKEPOINTS_in_wine
|
||||||
|
#else
|
||||||
#define MAKEPOINTS(l) (*((POINTS *)&(l)))
|
#define MAKEPOINTS(l) (*((POINTS *)&(l)))
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue