mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
17 lines
469 B
C
17 lines
469 B
C
// Classic Shell (c) 2009-2017, Ivo Beltchev
|
|
// Open-Shell (c) 2017-2018, The Open-Shell Team
|
|
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
|
|
|
|
#pragma once
|
|
|
|
#ifdef _DEBUG
|
|
|
|
bool dbg_assert( const char *exp, const char *file, unsigned line );
|
|
#define Assert(exp) do { if (!(exp) && !dbg_assert(#exp,__FILE__,__LINE__)) _CrtDbgBreak(); } while (0)
|
|
|
|
#else
|
|
|
|
#define Assert(exp) ((void)0)
|
|
|
|
#endif
|