Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Perl patches for DEC Alpha
@ 1994-03-29 18:41 Dave Glowacki
  1994-04-05  8:47 ` eijk
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Glowacki @ 1994-03-29 18:41 UTC (permalink / raw)


I *know* I saw patches for Perl on Alphas someplace but, of course,
I ignored them until I needed them and now they're gone.  Could someone
either mail me a copy or point me at an FTP site where I can find either
the patches or a perl 4.036 that works on Alphas?
-- 
Dave Glowacki                 dglo@cs.Berkeley.EDU                   UCBerkeley
-- 
Dave Glowacki                 dglo@cs.Berkeley.EDU                   UCBerkeley


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Perl patches for DEC Alpha
  1994-03-29 18:41 Perl patches for DEC Alpha Dave Glowacki
@ 1994-04-05  8:47 ` eijk
  0 siblings, 0 replies; 2+ messages in thread
From: eijk @ 1994-04-05  8:47 UTC (permalink / raw)




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 <ichikawa@lsi.melco.co.jp>



-- 
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-04-05  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-29 18:41 Perl patches for DEC Alpha Dave Glowacki
1994-04-05  8:47 ` eijk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox