mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 12:13:37 +00:00
fix: undef stb_vorbis macros leaking into unity build chunks
This commit is contained in:
parent
a9d30ab5c8
commit
be3cb9ad92
|
|
@ -48,6 +48,13 @@ int strcasecmp(const char* a, const char* b) {
|
|||
|
||||
#undef STB_VORBIS_HEADER_ONLY
|
||||
#include "stb_vorbis.c"
|
||||
// stb_vorbis leaks single-letter macros (C, L, R, etc.) that collide with
|
||||
// identifiers in other translation units during unity builds.
|
||||
#undef C
|
||||
#undef L
|
||||
#undef R
|
||||
#undef TRUE
|
||||
#undef FALSE
|
||||
#endif
|
||||
#if defined(_WINDOWS64)
|
||||
#include "Minecraft.Client/Windows64/Windows64_App.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue