evas/cserve2: Add CRIT() macro
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 18 Jul 2013 10:18:24 +0000 (19:18 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 28 Oct 2013 06:47:12 +0000 (15:47 +0900)
For easy debugging

src/bin/evas/evas_cserve2.h

index cc1a748..158e3e2 100644 (file)
@@ -4,6 +4,10 @@
 #include <Eina.h>
 #include "evas_cs2.h"
 
+#ifdef CRIT
+#undef CRIT
+#endif
+#define CRIT(...) EINA_LOG_DOM_CRIT(_evas_cserve2_bin_log_dom, __VA_ARGS__)
 #ifdef ERR
 #undef ERR
 #endif