This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Even though undefing SPACE and FORMAT should be safe,
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 24 Sep 2003 17:40:42 +0000 (17:40 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 24 Sep 2003 17:40:42 +0000 (17:40 +0000)
at this point I'm choosing to be paranoid and using
#ifdef __Lynx__.

p4raw-id: //depot/perl@21361

perl.h

diff --git a/perl.h b/perl.h
index 8811bbb..cb99abc 100644 (file)
--- 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"