summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-10 23:34:06 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-10 23:34:06 +0000
commitdfe0b2289cfaa7d302c60238915d93655154f355 (patch)
tree40336c17fda8994c6cc2a4c2abf57f9b4e87eab0 /x2p
parent5acd297e56582a42cfccc93779697b9b1e6548d3 (diff)
downloadperl-dfe0b2289cfaa7d302c60238915d93655154f355.tar.gz
Update NeXT support
Diffstat (limited to 'x2p')
-rw-r--r--x2p/a2p.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/x2p/a2p.h b/x2p/a2p.h
index 77d55ced7a..f145e72bf6 100644
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
@@ -1,4 +1,4 @@
-/* $RCSfile: a2p.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:09 $
+/* $RCSfile: a2p.h,v $$Revision: 4.1 $$Date: 1996/07/05 23:49:58 $
*
* Copyright (c) 1991, Larry Wall
*
@@ -6,6 +6,9 @@
* License or the Artistic License, as specified in the README file.
*
* $Log: a2p.h,v $
+ * Revision 1.2 1996/07/05 23:49:58 gerti
+ * OPENSTEP 4.0 patches
+ *
*/
#include "../embed.h"
@@ -32,11 +35,17 @@
#endif
-#ifdef USE_NEXT_CTYPE
+#ifdef USE_NEXT_CTYPE
+
+#if NX_CURRENT_COMPILER_RELEASE >= 400
+#include <objc/NXCType.h>
+#else /* NX_CURRENT_COMPILER_RELEASE < 400 */
#include <appkit/NXCType.h>
-#else
+#endif /* NX_CURRENT_COMPILER_RELEASE >= 400 */
+
+#else /* !USE_NEXT_CTYPE */
#include <ctype.h>
-#endif
+#endif /* USE_NEXT_CTYPE */
#define MEM_SIZE Size_t