elm_test: undef logging macros before redefining them in header

Summary: Depends on D10228

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10229
This commit is contained in:
Mike Blumenkrantz 2019-09-27 14:34:32 -04:00 committed by Christopher Michael
parent 97846281b5
commit 2a1ef9fce7
1 changed files with 5 additions and 0 deletions

View File

@ -3,10 +3,15 @@
extern int _log_domain;
#undef CRI
#define CRI(...) EINA_LOG_DOM_CRIT(_log_domain, _VA_ARGS__)
#undef ERR
#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
#undef WRN
#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
#undef INF
#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
#undef DBG
#define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__)
#endif