Skip to content
Snippets Groups Projects
Commit 681db1af authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Added debug message to utils.

parent dd960ab0
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,16 @@
#define ERROR_ "Error: "
#define WARNING_ "Warning: "
#define DEBUG_ "Debug: "
#define ERR(m...) { printf(ERROR_ m); fflush(stdout); }
#define WARN(m...) { printf(WARNING_ m); fflush(stdout); }
#ifndef NDEBUG
#define DBG(m...) { printf(DEBUG_ m); fflush(stdout); }
#else
#define DBG(m...)
#endif
#endif // _UTILS__MSG_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment