Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#9264 closed patch

WIN32_LEAN_AND_MEAN in incorrect place

Reported by: SF/sven3000 Owned by: bluegr
Priority: normal Component: Port: Win32
Version: Keywords:
Cc: Game:

Description

In svn revision 54565, in the backends/platform/sdl/win32/win32.cpp file, the #define WIN32_LEAN_AND_MEAN line is under the #include <windows.h> line, meaning it has no effect. It should be above the #include, as per the attached patch.

It's already in the correct place in win32-main.cpp.

Note that the only effect of this #define is improved compilation times.

Ticket imported from: #3121969. Ticket imported from: patches/1369.

Attachments (1)

win32_lean_and_mean.patch (500 bytes ) - added by SF/sven3000 14 years ago.
Patch with correct WIN32_LEAN_AND_MEAN position.

Download all attachments as: .zip

Change History (5)

by SF/sven3000, 14 years ago

Attachment: win32_lean_and_mean.patch added

Patch with correct WIN32_LEAN_AND_MEAN position.

comment:1 by SF/sven3000, 14 years ago

Summary: WIN32_MEAN_AND_LEAN in incorrect placeWIN32_LEAN_AND_MEAN in incorrect place

comment:2 by bluegr, 14 years ago

Owner: set to bluegr
Status: newclosed

comment:3 by bluegr, 14 years ago

Added in r54567, thanks

comment:4 by digitall, 6 years ago

Component: Port: Win32
Note: See TracTickets for help on using tickets.