summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-01 07:45:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-01 07:45:06 +0000
commit20b634c2cddd73f32cb58e435a5061f5c6e53570 (patch)
treee6566daa2c22e5601fe014122612ccfc19caf9cb /handy.h
parent0f5d0394b2f5b3a7ac4dba1b324a4ccfb7799a4b (diff)
downloadperl-20b634c2cddd73f32cb58e435a5061f5c6e53570.tar.gz
z/OS: More threaded build tweaks from Brian De Pradine--
apparently now it works! p4raw-id: //depot/perl@19368
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 9bee70b51f..6936c20df0 100644
--- a/handy.h
+++ b/handy.h
@@ -502,7 +502,11 @@ Converts the specified character to lowercase.
#define isBLANK_LC_utf8(c) isBLANK(c) /* could be wrong */
#ifdef EBCDIC
-# define toCTRL(c) Perl_ebcdic_control(c)
+# ifdef PERL_IMPLICIT_CONTEXT
+# define toCTRL(c) Perl_ebcdic_control(aTHX_ c)
+# else
+# define toCTRL Perl_ebcdic_control
+# endif
#else
/* This conversion works both ways, strangely enough. */
# define toCTRL(c) (toUPPER(c) ^ 64)