www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/26/21:52:16

From: jeffdbREMOVETHIS AT goodnet DOT com (Mikey)
Subject: structure packing/allingment
26 Apr 1998 21:52:16 -0700 :
Message-ID: <35440b86.44573818.cygnus.cygwin32.developers@smtp.goodnet.com>
Reply-To: jeffdbREMOVETHIS AT goodnet DOT com
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com
Cc: colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp

looking at the SDK headers
there are a significant number of structures (several hundred)
that need an alignment other than
the default, is there any reason that anyone
knows of why

/* Enable #pragma pack. */
#define HANDLE_SYSV_PRAGMA

shouldn't/couldn't be added to config/i386/cygwin32.h ?

I found this in the emx patches, but it is used in several
systems, 

go32.h
isc.h
osfrose.h
sco.h
sco5.h
scodbx.h

(and yes I know that using #pragma for anything is a BAD THING
don't blame me microsoft did it :)

=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.

Microsoft Windows, a platform without a leg to stand on.

(jeffdbREMOVETHIS AT goodnet DOT com)
delete REMOVETHIS from the above to reply
         Mikey

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019