Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Portability vs. Endianness
Message-ID: <1991Mar13.164840.20615@zoo.toronto.edu>
Date: Wed, 13 Mar 1991 16:48:40 GMT
References: <1991Mar12.105451.19488@dit.upm.es> <3005@inews.intel.com>
Organization: U of Toronto Zoology

In article <3005@inews.intel.com> bhoughto@hopi.intel.com (Blair P. Houghton) writes:
>#if (((sizeof long)%(sizeof char)) == 0)	/* even-numbered modulus */

Bleep.  Error.  At least, it won't do what you think.  "sizeof" is not an
operator in #if; it is just another unknown identifier.

Incidentally, that expression is guaranteed to be true anyway, because
sizeof char ==== 1.  ("====" is the "emphatically equal to" operator. :-))
-- 
"But this *is* the simplified version   | Henry Spencer @ U of Toronto Zoology
for the general public."     -S. Harris |  henry@zoo.toronto.edu  utzoo!henry
