Also include the playsoundapi.h file that is where playsound is now in lean and mean, this ensures that it gets picked up by the replacement macro in more modern SDKs. (#6088)

This commit is contained in:
Jeffery Myers 2026-08-23 06:29:28 -07:00 • committed by GitHub
commit 3836f13878
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,7 @@
// include windows
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <playsoundapi.h>
// remove all our redefinitions so that raylib can define them properly
#undef CloseWindow