Prevent use of MAKEPOINTS in Wine code.

This commit is contained in:
Alexandre Julliard 2004-11-24 18:32:35 +00:00
parent a79c534c0e
commit 04e4bbc43b
1 changed files with 4 additions and 0 deletions

View File

@ -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
{ {