Last active
June 11, 2018 21:04
Revisions
-
vurtun revised this gist
Jun 11, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ #if defined(LIB_DEBUG) && (LIB_DEBUG >= 2) #include <stdio.h> #define DEBUG_LOG(l, ...) \ if (l <= LIB_DEBUG) { \ fprintf(stderr, "%s(L:%d):, __FILE__, __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, " \n"); \ -
vurtun revised this gist
Jun 10, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ #define LIB_DEBUG 2 #if defined(LIB_DEBUG) && (LIB_DEBUG >= 2) #include <stdio.h> #define DEBUG_LOG(l, ...) \ if (l <= LZ4_DEBUG) { \ fprintf(stderr, "%s(L:%d):, __FILE__, __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, " \n"); \ } #else #define DEBUG_LOG(l, ...){} /* disabled */ #endif -
vurtun created this gist
Jun 10, 2018 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #define LIB_DEBUG 2 #if defined(LIB_DEBUG) && (LIB_DEBUG >= 2) #include <stdio.h> #define DEBUG_LOG(l, ...) { \ if (l <= LZ4_DEBUG) { \ fprintf(stderr, "%s(L:%d):, __FILE__, __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, " \n"); \ }} #else #define DEBUG_LOG(l, ...){} /* disabled */ #endif