| Summary: | don't redefine WIN32_LEAN_AND_MEAN | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Anthony Pesch <inolen> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | jorgen |
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
| Attachments: | WIN32_LEAN_AND_MEAN patch | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/7a261af2d612 Also applied this fix to SDL_syswm.h: https://hg.libsdl.org/SDL/rev/47decd0106f8 |
Created attachment 1632 [details] WIN32_LEAN_AND_MEAN patch Just as with NOMINMAX, WIN32_LEAN_AND_MEAN shouldn't be defined if already defined. Otherwise, this can issue a warning which is problematic with /WX.