summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-25 15:32:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-25 15:32:39 +0000
commit12a43e3246d84bddbf19150ef8589f55c08f4eea (patch)
tree7f90b7748091ef28d93ff8f61f99658d2cc115a3 /perl.c
parentd7eee707892036dc8aac55a713a2092958f19e5d (diff)
downloadperl-12a43e3246d84bddbf19150ef8589f55c08f4eea.tar.gz
Forgotten from #15486.
p4raw-id: //depot/perl@15488
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index f5a272d395..3c2861f404 100644
--- a/perl.c
+++ b/perl.c
@@ -2288,8 +2288,13 @@ Perl_moreswitches(pTHX_ char *s)
PL_debug = atoi(s+1);
for (s++; isDIGIT(*s); s++) ;
}
+#if defined(EBCDIC) || defined(VMS)
+ if (DEBUG_p_TEST_ && ckWARN_d(WARN_DEBUGGING))
+ Perl_warner(aTHX_ packWARN(WARN_DEBUGGING),
+ "-Dp not implemented on this platform\n");
+#endif
PL_debug |= DEBUG_TOP_FLAG;
-#else
+#else /* !DEBUGGING */
if (ckWARN_d(WARN_DEBUGGING))
Perl_warner(aTHX_ packWARN(WARN_DEBUGGING),
"Recompile perl with -DDEBUGGING to use -D switch\n");