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:
parent
abe23bf82d
commit
3836f13878
1 changed files with 1 additions and 0 deletions
1
src/external/fix_win32_compatibility.h
vendored
1
src/external/fix_win32_compatibility.h
vendored
|
|
@ -46,6 +46,7 @@
|
||||||
// include windows
|
// include windows
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <playsoundapi.h>
|
||||||
|
|
||||||
// remove all our redefinitions so that raylib can define them properly
|
// remove all our redefinitions so that raylib can define them properly
|
||||||
#undef CloseWindow
|
#undef CloseWindow
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue