diff options
Diffstat (limited to 'fullbench.c')
-rw-r--r-- | fullbench.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fullbench.c b/fullbench.c index cbb7483..88e37b6 100644 --- a/fullbench.c +++ b/fullbench.c @@ -103,11 +103,12 @@ //****************************
// Constants
//****************************
-#define COMPRESSOR_NAME "LZ4 speed analyzer"
-#define COMPRESSOR_VERSION ""
-#define COMPILED __DATE__
+#define PROGRAM_DESCRIPTION "LZ4 speed analyzer"
+#ifndef LZ4_VERSION
+# define LZ4_VERSION ""
+#endif
#define AUTHOR "Yann Collet"
-#define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", COMPRESSOR_NAME, COMPRESSOR_VERSION, (int)(sizeof(void*)*8), AUTHOR, COMPILED
+#define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", PROGRAM_DESCRIPTION, LZ4_VERSION, (int)(sizeof(void*)*8), AUTHOR, __DATE__
#define NBLOOPS 6
#define TIMELOOP 2500
|