summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-17 12:25:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-17 12:25:39 +0000
commit9d45c60a0f69fc7753c5abe44596669f2f1b19ef (patch)
treead5202ca9e0bcbbe2c50c2817efc2dc2788969bb /sv.c
parenta991b806546fbc2a03a9dd5fe2b122e0230c793a (diff)
downloadperl-9d45c60a0f69fc7753c5abe44596669f2f1b19ef.tar.gz
Also the NetWare breakage was due to #17270, go figure.
p4raw-id: //depot/perl@17593
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 9e3d2a0d20..bdae1a6a9e 100644
--- a/sv.c
+++ b/sv.c
@@ -5884,7 +5884,9 @@ screamer2:
/* Accomodate broken VAXC compiler, which applies U8 cast to
* both args of ?: operator, causing EOF to change into 255
*/
-#ifdef DJGPP /* This is basically undoing #17270 for DJGPP. See below. */
+ /* For some reason #17270 broke things for DJGPP and NetWare.
+ * Another hunk just below. */
+#if defined(DJGPP) || defined(NETWARE)
if (cnt)
#else
if (cnt > 0)
@@ -5897,7 +5899,9 @@ screamer2:
}
}
-#ifndef DJGPP /* This is basically undoing #17270 for DJGPP. See above.*/
+ /* This is basically undoing #17270 for DJGPP and NetWare.
+ * Another hunk just above. */
+#if !(defined(DJGPP) || defined(NETWARE))
if (cnt > 0)
#endif
{