mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-09 00:24:15 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -144,7 +144,7 @@ LPCWSTR StringTable::getString(const wstring &id)
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
if (isStatic)
|
||||
{
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
return L"";
|
||||
}
|
||||
#endif
|
||||
@@ -166,7 +166,7 @@ LPCWSTR StringTable::getString(int id)
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
if (!isStatic)
|
||||
{
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
return L"";
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user