Commit 414557cf authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Update fix to LOG related defines.

parent 2c4d5f5f
......@@ -437,27 +437,27 @@ class VHDLGlueGenerator(SynchronousToolGlueGeneratorGeneric[List[int], List[int]
#define STATIC
#endif
#define LOGERROR 1
#define LOGWARNING 1
#define LOGINFO 1
#define LOGDEBUG 0
#define LOGERRORS 1
#define LOGWARNINGS 1
#define LOGINFOS 1
#define LOGDEBUGS 0
#ifdef LOGERROR
#ifdef LOGERRORS
#define LOGERROR(x...) printf(x)
#else
#define LOGERROR(x...)
#endif
#ifdef LOGWARNING
#ifdef LOGWARNINGS
#define LOGWARNING(x...) printf(x)
#else
#define LOGWARNING(x...)
#endif
#ifdef LOGINFO
#ifdef LOGINFOS
#define LOGINFO(x...) printf(x)
#else
#define LOGINFO(x...)
#endif
#ifdef LOGDEBUG
#ifdef LOGDEBUGS
#define LOGDEBUG(x...) printf(x)
#else
#define LOGDEBUG(x...)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment