mirror of
https://github.com/rwengine/openrw.git
synced 2025-05-01 06:18:04 +03:00
17 lines
320 B
C++
17 lines
320 B
C++
#ifndef _LIBRW_DEFINES_HPP_
|
|
#define _LIBRW_DEFINES_HPP_
|
|
|
|
#include <iostream>
|
|
|
|
#define RW_UNIMPLEMENTED(msg) \
|
|
std::cout << "Unimplemented: " << msg << std::endl;
|
|
|
|
#if RW_DEBUG
|
|
#define RW_CHECK(cond, msg) \
|
|
if(!(cond)) std::cerr << "Check Failed: " << msg << std::endl
|
|
#else
|
|
#define RW_CHECK(cond, msg)
|
|
#endif
|
|
|
|
|
|
#endif
|