diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-19 00:27:43 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-19 00:27:43 +0100 |
commit | aae3b8bfb83abec0f1bb8e4c854c156c03be5ca8 (patch) | |
tree | 305f1287a8cc6a896318a4de5f2b43686e7223b3 /err.h | |
parent | Made to compile as C++. (diff) | |
download | calp-aae3b8bfb83abec0f1bb8e4c854c156c03be5ca8.tar.gz calp-aae3b8bfb83abec0f1bb8e4c854c156c03be5ca8.tar.xz |
Started full rewrite in C++.
Diffstat (limited to 'err.h')
-rw-r--r-- | err.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,6 @@ #include <stdio.h> -#include "macro.h" - #define _RESET "\x1b[m" #define _BLACK "\x1B[0;30m" #define _RED "\x1B[0;31m" @@ -27,6 +25,7 @@ #define INFO_F(fmt, ...) fprintf(stderr, _BLUE "INFO" _RESET " (%s:%i) " fmt "\n", \ __FILE__, __LINE__, ##__VA_ARGS__) +#if 0 #define LINE(len) do { \ printf(_GREEN); \ FOR(int, i, len) printf("_"); \ @@ -38,5 +37,6 @@ FMT(T)(v, buf); \ INFO_F("%s", buf); \ } while (0) +#endif #endif /* ERR_H */ |