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.
This commit is contained in:
parent
abe23bf82d
commit
ee96473d4c
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
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <playsoundapi.h>
|
||||
|
||||
// remove all our redefinitions so that raylib can define them properly
|
||||
#undef CloseWindow
|
||||
|
|
|
|||
Loading…
Reference in a new issue