develooper Front page | perl.perl5.porters | Postings from October 2001

[PATCH] perl.h for Mac OS (Classic)

Thread Next
From:
Chris Nandor
Date:
October 25, 2001 19:15
Subject:
[PATCH] perl.h for Mac OS (Classic)
Message ID:
p0510030db7fe771a5a34@[10.0.1.177]
Mac OS (Classic) now redefines some things in macish.h (specifically,
PerlProc_exit), so, like OS2, needs to include iperlsys.h first, so we can
properly #undef and then #define it.

diff -u Bird:src:perl:perl:perl.h Bird:tmp:perl:perl.h
--- Bird:src:perl:perl:perl.h	Sun Oct 21 18:20:33 2001
+++ Bird:tmp:perl:perl.h	Thu Oct 25 17:28:37 2001
@@ -1740,7 +1740,7 @@
 #   endif
 #endif

-#if defined(OS2)
+#if defined(OS2) || defined(MACOS_TRADITIONAL)
 #  include "iperlsys.h"
 #endif

@@ -2095,7 +2095,7 @@
 #define FILTER_DATA(idx)	   (AvARRAY(PL_rsfp_filters)[idx])
 #define FILTER_ISREADER(idx)	   (idx >= AvFILLp(PL_rsfp_filters))

-#if !defined(OS2)
+#if !defined(OS2) && !defined(MACOS_TRADITIONAL)
 #  include "iperlsys.h"
 #endif
 #include "regexp.h"

-- 
Chris Nandor                      pudge@pobox.com    http://pudge.net/
Open Source Development Network    pudge@osdn.com     http://osdn.com/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About