#9061 closed patch
CRUISE: Fix cruise compilation with mingw32ce toolchain
Reported by: | CeRiAl | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Port: WinCE |
Version: | Keywords: | ||
Cc: | Game: |
Description
This patch changes the names of the enums for left, right middle and both mouse buttons so that the engine can be compiled with the mingw32ce toolchain. See this forum post for the error: http://forums.scummvm.org/viewtopic.php?p=50991#50991
Ticket imported from: #2828669. Ticket imported from: patches/1166.
Attachments (1)
Change History (6)
by , 15 years ago
Attachment: | cruise-diff.patch added |
---|
comment:1 by , 15 years ago
Owner: | set to |
---|---|
Summary: | Fix for cruise engine compilation with mingw32ce toolchain → CRUISE: Fix cruise compilation with mingw32ce toolchain |
comment:2 by , 15 years ago
MB_RIGHT is defined somewhere in the wince header files (I couldn't pinpoint the exact place). I've fixed this in my uncommitted trunk with a simple:
#ifdef _WIN32_WCE #undef MB_RIGHT #endif
at the top of cruise_main.h.
Take your pick dreammaster. This changeset, although less minimalistic, looks good too.
comment:3 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
I just commited this. I think it's trivial and harmless enough. Hopefully none of the CRUISE people mind (but if they do, it'll be trivial to rectify this in any of various ways :).
comment:5 by , 6 years ago
Component: | → Port: WinCE |
---|
SVN Diff