From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10259a,7ff160f0af6033a1 X-Google-Attributes: gid10259a,public X-Google-Thread: fee84,7ff160f0af6033a1 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-05 01:47:17 PST Xref: gmd.de comp.lang.perl:18249 comp.unix.osf.osf1:2890 Newsgroups: comp.lang.perl,comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!zaphod.crihan.fr!warwick!pipex!howland.reston.ans.net!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!ryn.mro.dec.com!cecehv.enet.dec.com!eijk From: eijk@cecehv.enet.dec.com () Subject: Re: Perl patches for DEC Alpha Message-ID: Sender: news@ryn.mro.dec.com (USENET News System) Reply-To: eijk@cecehv.enet.dec.com () Organization: Digital Equipment Corporation X-Newsreader: mxrn 6.18-4 References: <2n9sp2$lc4@agate.berkeley.edu> Distribution: na Date: Tue, 5 Apr 1994 08:47:17 GMT The following patch was posted some time ago: *** perl.h.orig Thu Oct 07 10:02:39 1993 --- perl.h Thu Oct 07 09:49:34 1993 *************** *** 684,690 **** --- 684,694 ---- #ifdef CASTNEGFLOAT #define U_S(what) ((unsigned short)(what)) #define U_I(what) ((unsigned int)(what)) + # ifndef __alpha #define U_L(what) ((unsigned long)(what)) + # else + # define U_L(what) ((unsigned int)(what)) + # endif #else unsigned long castulong(); #define U_S(what) ((unsigned int)castulong(what)) *************** *** 1029,1035 **** --- 1033,1043 ---- #ifndef STANDARD_C /* All of these are in stdlib.h or time.h for ANSI C */ double atof(); + #ifdef __alpha + time_t time(); + #else long time(); + #endif struct tm *gmtime(), *localtime(); char *index(), *rindex(); char *strcpy(), *strcat(); -- ICHIKAWA Shuichi -- Pim van der Eijk eijk@cec.uto.dec.com Cooperative Engineering Center cecamo::eijk Digital Equipment Corporation Tel: +31-3402-89307 Ratelaar 38 3434 EW Nieuwegein Fax: +31-3402-67787 The Netherlands