mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-23 02:00:58 +00:00
Replace UNICODE test with TEXT() macro in optick_common.h
This commit is contained in:
parent
0261154c8e
commit
3688e0cdf8
1 changed files with 1 additions and 5 deletions
|
@ -135,11 +135,7 @@ static const ProcessID INVALID_PROCESS_ID = (ProcessID)-1;
|
|||
// Asserts
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#if defined(OPTICK_MSVC)
|
||||
#ifdef UNICODE
|
||||
#define OPTICK_DEBUG_BREAK(description) OutputDebugString(L"Optick ERROR: " description L"\n"); __debugbreak()
|
||||
#else
|
||||
#define OPTICK_DEBUG_BREAK(description) OutputDebugString("Optick ERROR: " description "\n"); __debugbreak()
|
||||
#endif
|
||||
#define OPTICK_DEBUG_BREAK(description) OutputDebugString(TEXT("Optick ERROR: ") description TEXT("\n")); __debugbreak()
|
||||
#elif defined(OPTICK_GCC)
|
||||
#if __has_builtin(__builtin_debugtrap)
|
||||
#define OPTICK_DEBUG_BREAK(description) std::cerr << "Optick ERROR: " << description << std::endl; __builtin_debugtrap()
|
||||
|
|
Loading…
Reference in a new issue