diff options
author | Yves Orton <demerphq@gmail.com> | 2013-05-07 23:52:16 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2013-05-08 00:10:45 +0200 |
commit | e6b54db65c0cdda6ff40959415e828972b6a92b5 (patch) | |
tree | e1fa02fffce3b0b347ed1258ab3e678275d55809 /hv_func.h | |
parent | a2098e2036fea6a0d6544c47278aea9193a203c2 (diff) | |
download | perl-e6b54db65c0cdda6ff40959415e828972b6a92b5.tar.gz |
document and improve hash algorithm randomization related build options
Install was a copy of other material, made heavy reference to 5.8.x and
and didnt really document what it should have. I reworked it to be more
up to date.
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -11,9 +11,9 @@ #ifndef PERL_SEEN_HV_FUNC_H /* compile once */ #define PERL_SEEN_HV_FUNC_H -#define PERL_HASH_FUNC_ONE_AT_A_TIME_HARD #if !( 0 \ + || defined(PERL_HASH_FUNC_SIPHASH) \ || defined(PERL_HASH_FUNC_SDBM) \ || defined(PERL_HASH_FUNC_DJB2) \ || defined(PERL_HASH_FUNC_SUPERFAST) \ @@ -22,12 +22,8 @@ || defined(PERL_HASH_FUNC_ONE_AT_A_TIME_HARD) \ || defined(PERL_HASH_FUNC_ONE_AT_A_TIME_OLD) \ ) -#ifdef HAS_QUAD -#define PERL_HASH_FUNC_SIPHASH -#else #define PERL_HASH_FUNC_ONE_AT_A_TIME_HARD #endif -#endif #if defined(PERL_HASH_FUNC_SIPHASH) # define PERL_HASH_FUNC "SIPHASH_2_4" |