summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2003-11-01 15:21:23 +0000
committerNicholas Clark <nick@ccl4.org>2003-11-01 15:21:23 +0000
commit22718ec591ad56c1828d29d3898b65d15a5a7700 (patch)
treef3c1c4dbdd2610a69b337e1878eca0e2711a27c0 /hv.h
parent05619474c45b1f1e16eb70c1d9f8b991a7ad459a (diff)
downloadperl-22718ec591ad56c1828d29d3898b65d15a5a7700.tar.gz
mod_perl2 will require access to the Plan C hashing function.
p4raw-id: //depot/perl@21607
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 5f8344004d..ee6d192175 100644
--- a/hv.h
+++ b/hv.h
@@ -89,7 +89,7 @@ struct xpvhv {
(hash) = (hash_PeRlHaSh + (hash_PeRlHaSh << 15)); \
} STMT_END
-#ifdef PERL_IN_HV_C
+#if defined (PERL_IN_HV_C) || defined (MOD_PERL)
#define PERL_HASH_INTERNAL(hash,str,len) \
STMT_START { \
register const char *s_PeRlHaSh_tmp = str; \