summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index ced1f9196a..c16c3109a8 100644
--- a/st.c
+++ b/st.c
@@ -537,7 +537,7 @@ strhash(string)
h &= ~g;
}
return h;
-#elif HASH_PERL
+#elif defined(HASH_PERL)
register int val = 0;
while ((c = *string++) != '\0') {