projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: add 'make debug'
[cdsspec-compiler.git]
/
common.h
diff --git
a/common.h
b/common.h
index cd6b16a286cf4684f711a824b303a465a99c590c..656ea3798dde73d08b168fdfe54f5d4c72dcc04d 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-3,7
+3,11
@@
#include <stdio.h>
-//#define CONFIG_DEBUG
+/*
+#ifndef CONFIG_DEBUG
+#define CONFIG_DEBUG
+#endif
+*/
#ifdef CONFIG_DEBUG
#define DEBUG(fmt, ...) do { printf("*** %25s(): line %-4d *** " fmt, __func__, __LINE__, ##__VA_ARGS__); } while (0)