Date: Tue, 22 Jul 1997 08:47:03 -0400 (EDT) Message-Id: <1.5.4.16.19970722181904.354fcc54@giasbga.vsnl.net.in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: DJ Delorie From: Chirayu Krishnappa Subject: Re: sizeof() in #if Cc: djgpp AT delorie DOT com Precedence: bulk >Yes, but the compiler doesn't get control until *after* the >preprocessor, which is the part that handles #if. The preprocessor >does not know how big an int is. Sorry, never thought that way! It wd be nice if limits.h also defined constants as to how many bits an int/etc take (0 bits if not applicable). Neway, using the limits.h approach. Not the most eleganmt, but works. Thanks. Bye, Chirayu Krishnappa: ------------------ e-mail: chirayu AT poboxes DOT com Phone: 91 080 3332616. ============================================================================ ==========