You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* More fixes to be preprocessor conformant (/Zc:preprocessor) #rb none #preflight skipped [CL 22705198 by henrik karlsson in ue5-main branch]
21 lines
591 B
C
21 lines
591 B
C
// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
|
|
|
|
#pragma once
|
|
|
|
// BEGIN EPIC MOD
|
|
#include "LC_Platform.h"
|
|
// END EPIC MOD
|
|
#include LC_PLATFORM_INCLUDE(LC_Debugger)
|
|
// BEGIN EPIC MOD
|
|
#include "LC_Logging.h"
|
|
// END EPIC MOD
|
|
|
|
|
|
#if LC_DEBUG
|
|
# define LC_ASSERT_BREAKPOINT() (Debugger::IsConnected()) ? LC_DEBUGGER_BREAKPOINT() : (void)true
|
|
# define LC_ASSERT(_condition, _msg) (_condition) ? (void)true : (LC_ERROR_DEV("%s", _msg), LC_ASSERT_BREAKPOINT())
|
|
#else
|
|
# define LC_BREAKPOINT() (void)true
|
|
# define LC_ASSERT(_condition, _msg) LC_UNUSED(_condition)
|
|
#endif
|