From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed, 24 Sep 2003 17:40:42 +0000 (+0000)
Subject: Even though undefing SPACE and FORMAT should be safe,
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d4c3c482d093813d66a1c163e8cf7f1e489ab3cf;p=p5sagit%2Fp5-mst-13.2.git

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
---

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