Handle raylib conflict with PlaySoundW for wide string builds (#6140)

This commit is contained in:
Jeffery Myers
2026-09-11 09:22:43 -07:00
committed by GitHub
parent 647755ad6d
commit 75909072c2

View File

@@ -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