diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-06-11 11:30:53 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-06-11 11:30:53 +0200 |
commit | 87655bc1cfe22005813801a62c11b22a298d5be3 (patch) | |
tree | f2ae0f65d95d25150b101b7e65c038e3d809ae6a /src/common.h | |
parent | premake: disabled SAFESEH (diff) | |
download | re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar.gz re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar.bz2 re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar.lz re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar.xz re3-87655bc1cfe22005813801a62c11b22a298d5be3.tar.zst re3-87655bc1cfe22005813801a62c11b22a298d5be3.zip |
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 4844353b..f59e3aa4 100644 --- a/src/common.h +++ b/src/common.h @@ -138,6 +138,8 @@ void re3_debug(char *format, ...); void re3_trace(const char *filename, unsigned int lineno, const char *func, char *format, ...); void re3_assert(const char *expr, const char *filename, unsigned int lineno, const char *func); +#define DEBUGBREAK() __debugbreak(); + #define debug(f, ...) re3_debug("[DBG]: " f, __VA_ARGS__) #define DEV(f, ...) re3_debug("[DEV]: " f, __VA_ARGS__) #define TRACE(f, ...) re3_trace(__FILE__, __LINE__, __FUNCTION__, f, __VA_ARGS__) |