Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: alanr@bell-labs.com
To: axp-list@redhat.com
Cc: Christoph Zens <e9126506@student.tuwien.ac.at>
Subject: Re: mozilla problems
Date: Sat, 6 Jun 1998 05:40:52 +0000 (   )	[thread overview]
Message-ID: <ML-3.3.897111652.4826.alanr@alanrhome.dr.lucent.com> (raw)
In-Reply-To: <Pine.GSO.3.96.980605123127.901A-100000@pram.ee.fit.edu>

> On Fri, 5 Jun 1998, Christoph Zens wrote:
...
> If you're going to do that, why not just go through each part and change
> things ... to:
> 
> #elif defined( LINUX )
> # ifdef( __alpha )
> # define PR_BYTES_PER_LONG     8L
> # else
> # define PR_BYTES_PER_LONG     4L
> # endif
> #elif...

Maybe I'm brain-dead here, but in most contexts in C, a sizeof(long) is a
full-fledged constant.  So I guess I wonder why it isn't put in as:
#define PR_BYTES_PER_LONG	sizeof(long)

Perhaps it has to do with the need for a LONG constant?

	-- Alan Robertson
	   alanr@bell-labs.com


  reply	other threads:[~1998-06-06  5:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-04 16:24 mozilla problems brinkmann
1998-06-05 16:14 ` Christoph Zens
1998-06-05 16:34   ` aakin
1998-06-05 16:45   ` Christopher Curtis
1998-06-06  5:40     ` alanr [this message]
1998-06-06  6:14       ` Stephen Williams
1998-06-06 10:26     ` Christoph Zens
1998-06-09  0:03       ` Uncle George
1998-06-09  0:10         ` Paul Tomblin
     [not found] <e9126506@student.tuwien.ac.at>
1998-06-07  2:57 ` Larry Zimmerman
1998-06-07 10:19   ` Christoph Zens
1998-06-07 13:09     ` Hirsim{ki Mika
1998-06-08  8:20     ` Stephane Casset
  -- strict thread matches above, loose matches on Subject: below --
1999-09-08  2:46 Mozilla problems Stephen Eastman
1999-09-08  3:15 ` Charles E Taylor IV
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