blob: ae2d041209891d9df49d748c91544d8e53df1911 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* The gdidefs.h header badly conflicts with windows.h. Microsoft's printer
* drivers in the Windows DDK solve that by manually defining a large subset
* of windows.h. We solve that by including the normal windows.h but hiding
* the conflicting definitions.
*/
#define NOGDI
#define PPOINT n_PPOINT
#define LPPOINT n_LPPOINT
#define RECT n_RECT
#define PRECT n_PRECT
#define LPRECT n_LPRECT
#include <windows.h>
#undef PPOINT
#undef LPPOINT
#undef RECT
#undef PRECT
#undef LPRECT
|