mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
15 lines
455 B
C++
15 lines
455 B
C++
#pragma once
|
|
//#ifndef NDEBUG
|
|
//# define Assert(condition, message) \
|
|
// do { \
|
|
// if (! (condition)) { \
|
|
// std::cerr << "Assertion '" #condition "' failed in " << __FILE__ \
|
|
// << " line " << __LINE__ << ": " << message << std::endl; \
|
|
// assert(condition); \
|
|
// } \
|
|
// } while (false)
|
|
//#else
|
|
# define Assert(condition, ...) assert(condition)
|
|
# define AssertFatalMsg Assert
|
|
//#endif
|