Message-ID: <003a01be7635$9d68fc00$b15d44ce@computer> From: "Sean Middleditch" To: Subject: Re: Preprocessor hates sizeof Date: Wed, 24 Mar 1999 15:33:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com What exactly is the purpose of this? It looks to me like you're trying to check if the compile is 32-bit (and thus a 32-bit long int would be the same as the standard 32-bit int). Instead, you should check for the definition of __DJGPP__, if that's what you're aiming to do. Sean Middleditch of AwesomePlay Productions http://www.angelfire.com/biz/aweplay awepay AT iname DOT com -----Original Message----- From: Wojciech Piechowski Newsgroups: comp.os.msdos.djgpp To: DJGPP mailing list Date: Wednesday, March 24, 1999 8:51 AM Subject: Preprocessor hates sizeof >Hi > >I wonder why the following line does not compile and how to make it work: > >#if sizeof(long int)==sizeof(int) > >(Borland likes it) > >--------------------\ Wojciech Piechowski /---------------------------- >Student informatyki \ voyt AT ds2 DOT pg DOT gda DOT pl / Student of computer science >Politechnika Gdanska \____________________/ Gdansk Technical University >