Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: eijk@cecehv.enet.dec.com ()
Subject: Re: Perl patches for DEC Alpha
Date: Tue, 5 Apr 1994 08:47:17 GMT	[thread overview]
Message-ID: <Cns32u.1ns@ryn.mro.dec.com> (raw)
In-Reply-To: 2n9sp2$lc4@agate.berkeley.edu



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


      reply	other threads:[~1994-04-05  8:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-29 18:41 Perl patches for DEC Alpha Dave Glowacki
1994-04-05  8:47 ` eijk [this message]
read-only archive

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