diff options
Diffstat (limited to 'platform/wavelet3d/host_sw/log.h')
| -rw-r--r-- | platform/wavelet3d/host_sw/log.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/wavelet3d/host_sw/log.h b/platform/wavelet3d/host_sw/log.h new file mode 100644 index 0000000..1396342 --- /dev/null +++ b/platform/wavelet3d/host_sw/log.h @@ -0,0 +1,12 @@ +#ifndef LOG_H +#define LOG_H + +#include <stdio.h> + +#ifdef MOD_NAME + #define log(fmt, ...) printf(MOD_NAME ": " fmt "\n", ##__VA_ARGS__) +#else + #define log(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) +#endif + +#endif |
