libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.57k stars 1.77k forks source link

Commit `22c1444` breaks compiling for WINAPI_PARTITION_GAMES (Xbox) #10159

Open sykhro opened 3 months ago

sykhro commented 3 months ago

The commit https://github.com/libsdl-org/SDL/commit/22c14442e22b432c69348211fc97c81248269d30 unconditionally introduces a call to GetMessageTime(), which comes from user32. This is not available when targetting WINAPI_PARTITION_GAMES strictly.

slouken commented 3 months ago

Does the build break with one of the existing projects? If not, feel free to submit a PR or patch with a fix you can test there.

sykhro commented 3 months ago

Yes, I have a fix - will send soon; opened the issue to avoid forgetting :)

slouken commented 3 months ago

Thanks!

slouken commented 2 months ago

Did you create a PR for this?

sykhro commented 1 week ago

I'm terribly sorry! I thought I sent this ages ago, I have rebased it on top of the SDL2 branch; see #10909