diff options
Diffstat (limited to 'src/htgen.h')
| -rw-r--r-- | src/htgen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/htgen.h b/src/htgen.h index 86bf7e9..3e22329 100644 --- a/src/htgen.h +++ b/src/htgen.h @@ -4,6 +4,7 @@ #include <stdlib.h> #include <string.h> +#ifdef HTGEN__TEST_CONFIG #if 1 #define HT_PREFIX shash_ #define HT_VALTYPE char * @@ -76,6 +77,7 @@ XXH64_hash_t ihash_hash_int(int i) #define HT_VAL_FMT "%d" #endif +#endif #define HT_MALLOC(_sz) malloc(_sz) #define HT_CALLOC(_num, _sz) calloc(_num, _sz) @@ -128,7 +130,7 @@ HT_VALTYPE HT__NS(popn)(HT__TYPE *ht, HT_KEYTYPE_CREF key, size_t keylen, bool * /* implementations */ -#if defined(HT_IMPLEMENTATIONS) || 1 +#if defined(HT_IMPLEMENTATIONS) #define HT__NODE HT__NS(_node) |
