mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
Handle raylib conflict with PlaySoundW for wide string builds (#6140)
This commit is contained in:
2
src/external/fix_win32_compatibility.h
vendored
2
src/external/fix_win32_compatibility.h
vendored
@@ -43,6 +43,7 @@
|
||||
#define DrawTextExA DrawTextExAWin32
|
||||
#define DrawTextExW DrawTextExWin32
|
||||
#define PlaySoundA PlaySoundAWin32
|
||||
#define PlaySoundW PlaySoundWWin32
|
||||
// include windows
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
@@ -62,3 +63,4 @@
|
||||
#undef DrawTextExA
|
||||
#undef DrawTextExW
|
||||
#undef PlaySoundA
|
||||
#undef PlaySoundW
|
||||
|
||||
Reference in New Issue
Block a user