| Summary: | [WinRT, forcing #define _WIN32_WINNT 0x501, Fix] sdl_xinput.c(59): error C2065: 'XInputGetBatteryInformation': undeclared identifier | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Eugene Golushkov <eugene_gff> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.5 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
|
Description
Eugene Golushkov
2017-01-11 15:27:18 UTC
This problem was caused by defining __WIN32__ in WinRT mode as an attempt to fix Bug #3556 in v2.0.4, but such definition causes much more problems then solves. So, while rant about redefining _WIN32_WINNT in public header is still valid - but I am unaffected while __WIN32__ is not defined. FYI, SDL_windows.h isn't a public header - it's just used internally building SDL. |