Commit 6023a1ec authored by Francois Tessier's avatar Francois Tessier

Fix a C preprocessor variables conflict for the timers

parent 1588f805
...@@ -31,7 +31,7 @@ void printMsg ( msg_t type, char* format, ... ) { ...@@ -31,7 +31,7 @@ void printMsg ( msg_t type, char* format, ... ) {
fprintf ( stdout, "[INFO] %s", message); fprintf ( stdout, "[INFO] %s", message);
#endif #endif
break; break;
case TIMING: case TIME:
#ifdef TIMING #ifdef TIMING
#ifdef COLOR #ifdef COLOR
fprintf ( stdout, BLUE "[TIME]" RESET " %s", message); fprintf ( stdout, BLUE "[TIME]" RESET " %s", message);
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define MAGENTA "\x1b[35m" #define MAGENTA "\x1b[35m"
#define RESET "\x1b[0m" #define RESET "\x1b[0m"
typedef enum { ERROR, WARNING, INFO, TIMING, DEBUG } msg_t; typedef enum { ERROR, WARNING, INFO, TIME, DEBUG } msg_t;
void printMsg ( msg_t type, char* format, ... ); void printMsg ( msg_t type, char* format, ... );
......
Markdown is supported
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