From: Gurusamy Sarathy <gsar@cpan.org>
Date: Sat, 17 Oct 1998 01:55:27 +0000 (+0000)
Subject: Rhapsody DR2 has bsd/ctypes.h, not objc/NXCType.h (suggested by
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=28282f5531786f078ec629b13b58ebd6a41e90ba;p=p5sagit%2Fp5-mst-13.2.git

Rhapsody DR2 has bsd/ctypes.h, not objc/NXCType.h (suggested by
Dave Leppik <dleppik@gage.com>

p4raw-id: //depot/perl@1989
---

diff --git a/perl.h b/perl.h
index 2871d80..c2cb258 100644
--- a/perl.h
+++ b/perl.h
@@ -339,11 +339,15 @@ register struct op *op asm(stringify(OP_IN_REGISTER));
 
 #ifdef USE_NEXT_CTYPE
 
-#if NX_CURRENT_COMPILER_RELEASE >= 400
-#include <objc/NXCType.h>
-#else /*  NX_CURRENT_COMPILER_RELEASE < 400 */
-#include <appkit/NXCType.h>
-#endif /*  NX_CURRENT_COMPILER_RELEASE >= 400 */
+#if NX_CURRENT_COMPILER_RELEASE >= 500
+#  include <bsd/ctypes.h>
+#else
+#  if NX_CURRENT_COMPILER_RELEASE >= 400
+#    include <objc/NXCType.h>
+#  else /*  NX_CURRENT_COMPILER_RELEASE < 400 */
+#    include <appkit/NXCType.h>
+#  endif /*  NX_CURRENT_COMPILER_RELEASE >= 400 */
+#endif /*  NX_CURRENT_COMPILER_RELEASE >= 500 */
 
 #else /* !USE_NEXT_CTYPE */
 #include <ctype.h>