The best way to do this is write ints (and longs!)
through a macro, then conditinally define the macro
depending upon the platform

It's a real pain to have two separate code bases,
which you would have to do if you actually remove
the code.

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Maarten L. Hekkelman [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 02, 2000 2:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Mac PDB format
> 
> 
> On 02-01-2000 at 00:33, [EMAIL PROTECTED] (Thomas Ward) wrote:
> 
> > Does anybody know of anything you have to do different when 
> creating a PDB
> > file on the Mac instead of on the PC?
> 
> Endianness problems. The windows code does probably byte 
> swapping on value with
> a size longer than a byte. On a Mac you should not do this so 
> you should remove
> the byte swapping code.
> 
> -maarten
> 
> --
> Maarten L. Hekkelman                      http://www.hekkelman.com
> Hekkelman Programmatuur bv         mailto:maarten at hekkelman.com
> 
> 
> 

Reply via email to