14 lines
295 B
C
14 lines
295 B
C
|
#ifndef CSC_COW_DEBUG_H
|
||
|
#define CSC_COW_DEBUG_H
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#define DEBUG_PRINT(x) do { fprintf(stderr, "%s:%d (%s): %s\n", __FILE__, \
|
||
|
__LINE__, __FUNCTION__, x); } while (0)
|
||
|
#else
|
||
|
#define DEBUG_PRINT(x) do { } while (0)
|
||
|
#endif
|
||
|
|
||
|
#endif
|