forked from M-Labs/artiq
1
0
Fork 0

artiq_personality: simplify.

This commit is contained in:
whitequark 2015-08-06 07:59:15 +03:00
parent 8d0222c297
commit 722dfef97b
1 changed files with 0 additions and 6 deletions

View File

@ -8,14 +8,8 @@
/* Logging */
#ifndef NDEBUG
#if defined(__or1k__)
#include "log.h"
#define EH_LOG0(fmt) log("%s: " fmt, __func__)
#define EH_LOG(fmt, ...) log("%s: " fmt, __func__, __VA_ARGS__)
#else
#define EH_LOG0(fmt) fprintf(stderr, "%s: " fmt "\n", __func__)
#define EH_LOG(fmt, ...) fprintf(stderr, "%s: " fmt "\n", __func__, __VA_ARGS__)
#endif
#else
#define EH_LOG0(fmt)
#define EH_LOG(fmt, ...)