Closed Bug 403567 Opened 17 years ago Closed 16 years ago

Bug 396315 breaks MINGW build

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: d_king, Unassigned)

References

Details

The patch for Bug #396315 breaks the MINGW build. This is because NTM_TYPE1 isn't defined under MINGW or cygwin.
Adding these lines (only NTM_TYPE1 should be enough) in cygdrive/c/mozilla/mingw/include/wingdi.h fixed it for me:
#define NTM_NONNEGATIVE_AC  0x00010000L
#define NTM_PS_OPENTYPE     0x00020000L
#define NTM_TT_OPENTYPE     0x00040000L
#define NTM_MULTIPLEMASTER  0x00080000L
#define NTM_TYPE1           0x00100000L
#define NTM_DSIG            0x00200000L

I found that from here (from a Google search):
http://www.winehq.org/pipermail/wine-patches/2003-December/009007.html

So I guess this is something that has to be fixed in mingw.
Blocks: 396315
No longer depends on: 396315
Blocks: mingw
The fix is also in w32api version 3.11
Marked WFM as w32api fixed and distributed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.