Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/External/LC_Assert.h
Tim Smith b48b94b010 Integration of Live++ 1.6.3
#rb none
#rnx

[CL 14926202 by Tim Smith in ue5-main branch]
2020-12-15 09:27:44 -04:00

21 lines
585 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(_msg), LC_ASSERT_BREAKPOINT())
#else
# define LC_BREAKPOINT() (void)true
# define LC_ASSERT(_condition, _msg) LC_UNUSED(_condition)
#endif