summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-09-24 17:40:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-09-24 17:40:42 +0000
commitd4c3c482d093813d66a1c163e8cf7f1e489ab3cf (patch)
tree1392a537bc4779ffc5f9273776cc7fc9dfc97e06 /perl.h
parent9cffb1113116ebdeea2d588063f221f44cc71108 (diff)
downloadperl-d4c3c482d093813d66a1c163e8cf7f1e489ab3cf.tar.gz
Even though undefing SPACE and FORMAT should be safe,
at this point I'm choosing to be paranoid and using #ifdef __Lynx__. p4raw-id: //depot/perl@21361
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 8811bbb167..cb99abcf5f 100644
--- a/perl.h
+++ b/perl.h
@@ -3247,6 +3247,7 @@ END_EXTERN_C
/*****************************************************************************/
/* XXX This needs to be revisited, since BEGIN makes yacc re-enter... */
+#ifdef __Lynx__
/* LynxOS defines these in scsi.h which is included via ioctl.h */
#ifdef FORMAT
#undef FORMAT
@@ -3254,6 +3255,7 @@ END_EXTERN_C
#ifdef SPACE
#undef SPACE
#endif
+#endif
#include "perly.h"