1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-09 12:22:34 +01:00

Make RW_ERROR print to stderr

This commit is contained in:
Timmy Sjöstedt 2016-05-24 17:38:41 +02:00
parent 09c22150a0
commit f2ca6ed4d1

View File

@ -6,7 +6,7 @@
#define RW_MESSAGE(msg) \
std::cout << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl
#define RW_ERROR(msg) \
std::cout << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl
std::cerr << __FILE__ << ":"<< __LINE__ << ": " << msg << std::endl
#define RW_CHECK(cond, msg) \
if(!(cond)) RW_ERROR(msg)
#else