diff options
Diffstat (limited to 'ext/SDBM_File/sdbm/tune.h')
-rw-r--r-- | ext/SDBM_File/sdbm/tune.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/SDBM_File/sdbm/tune.h b/ext/SDBM_File/sdbm/tune.h new file mode 100644 index 0000000000..b95c8c8634 --- /dev/null +++ b/ext/SDBM_File/sdbm/tune.h @@ -0,0 +1,23 @@ +/* + * sdbm - ndbm work-alike hashed database library + * tuning and portability constructs [not nearly enough] + * author: oz@nexus.yorku.ca + */ + +#define BYTESIZ 8 + +/* + * important tuning parms (hah) + */ + +#define SEEDUPS /* always detect duplicates */ +#define BADMESS /* generate a message for worst case: + cannot make room after SPLTMAX splits */ +/* + * misc + */ +#ifdef DEBUG +#define debug(x) printf x +#else +#define debug(x) +#endif |