Fix building with XE_OPTION_ENABLE_LOGGING off
This commit is contained in:
parent
9418f3f2c5
commit
72e41e2bf8
|
@ -121,21 +121,19 @@ void XELOGFS(const char* format, const Args&... args) {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define XELOGDUMMY \
|
#define __XELOGDUMMY \
|
||||||
do { \
|
do { \
|
||||||
} while (false)
|
} while (false)
|
||||||
|
|
||||||
#define XELOGE(...) XELOGDUMMY
|
#define XELOGE(...) __XELOGDUMMY
|
||||||
#define XELOGW(...) XELOGDUMMY
|
#define XELOGW(...) __XELOGDUMMY
|
||||||
#define XELOGI(...) XELOGDUMMY
|
#define XELOGI(...) __XELOGDUMMY
|
||||||
#define XELOGD(...) XELOGDUMMY
|
#define XELOGD(...) __XELOGDUMMY
|
||||||
#define XELOGCPU(...) XELOGDUMMY
|
#define XELOGCPU(...) __XELOGDUMMY
|
||||||
#define XELOGAPU(...) XELOGDUMMY
|
#define XELOGAPU(...) __XELOGDUMMY
|
||||||
#define XELOGGPU(...) XELOGDUMMY
|
#define XELOGGPU(...) __XELOGDUMMY
|
||||||
#define XELOGKERNEL(...) XELOGDUMMY
|
#define XELOGKERNEL(...) __XELOGDUMMY
|
||||||
#define XELOGFS(...) XELOGDUMMY
|
#define XELOGFS(...) __XELOGDUMMY
|
||||||
|
|
||||||
#undef XELOGDUMMY
|
|
||||||
|
|
||||||
#endif // ENABLE_LOGGING
|
#endif // ENABLE_LOGGING
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue