summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2003-11-03 07:04:36 +0000
committerNicholas Clark <nick@ccl4.org>2003-11-03 07:04:36 +0000
commit3d78eb94aeaaf5a3811e34e1c8c1a6e2f8c3f636 (patch)
tree848dbbdbf1429269182c5c800fe1fdae62852aa7 /hv.h
parent008fb0c0b128e68050936412d62bf4def14fc864 (diff)
downloadperl-3d78eb94aeaaf5a3811e34e1c8c1a6e2f8c3f636.tar.gz
Stas would prefer not to have MOD_PERL defines in perl.
p4raw-id: //depot/perl@21639
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 0fcda5e30d..81044c9097 100644
--- a/hv.h
+++ b/hv.h
@@ -89,7 +89,8 @@ struct xpvhv {
(hash) = (hash_PeRlHaSh + (hash_PeRlHaSh << 15)); \
} STMT_END
-#if defined (PERL_IN_HV_C) || defined (MOD_PERL)
+/* Only hv.c and mod_perl should be doing this. */
+#ifdef PERL_HASH_INTERNAL_ACCESS
#define PERL_HASH_INTERNAL(hash,str,len) \
STMT_START { \
register const char *s_PeRlHaSh_tmp = str; \