Hello,
when compiling Embperl 2.2 on Mac OS-X 10.4.8 using the built-in
apache 1.3.33 a little patch on "eputil.c" has to get applied to
ensure compiling runs without errors:
--- Embperl-2.2.0/eputil.c 2005-11-09 06:11:42.000000000 +0100
+++ Embperl-2.2.0_patched/eputil.c 2006-11-21 21:26:30.000000000
+0100
@@ -2066,7 +2066,7 @@
#ifdef WIN32
extern long _timezone;
#else
-#ifndef __BSD_VISIBLE
+#if !defined(__BSD_VISIBLE) && !defined(__DARWIN_UNIX03)
extern long timezone;
#endif
#endif
@@ -2093,7 +2093,7 @@
tms->tm_hour, tms->tm_min, tms->tm_sec, tz >
0?"+":"", tz);
#else
localtime_r(&when, &tms);
-#ifndef __BSD_VISIBLE
+#if !defined(__BSD_VISIBLE) && !defined(__DARWIN_UNIX03)
tz = -timezone / 36 + (tms.tm_isdst?100:0) ;
#else
tz = -tms.tm_gmtoff / 36 + (tms.tm_isdst?100:0) ;
I hope it helps others :-)
Regards,
Wolfgang Kinkeldei
--
' /\_/\ ' .print[split??,"".(($/=q|Cms)+-03467:;<=|)=~tr!C-z -B! -z!)x
'( o.o )' .$/]->[hex]foreach split qr<>,qq+1ecd039ad65b025b8063475b+||
' > ^ < ' .q<!-- Wolfgang Kinkeldei - mailto:[EMAIL PROTECTED] -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]