Files
tim smith 6fcbe51e16 Removed usage of include file macros from LiveCoding source since it was causing issues with SN-DBS
#rb tim.smith

[CL 29401475 by tim smith in ue5-main branch]
2023-11-03 07:04:54 -04:00

19 lines
548 B
C

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
// BEGIN EPIC MOD
#include "LC_Platform.h"
#include "LC_Debugger_Windows.h"
#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