lwip-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [lwip-members] include files for structure packing


From: Florian Schulze
Subject: Re[2]: [lwip-members] include files for structure packing
Date: Sun, 3 Nov 2002 09:15:29 +0100 (Westeuropäische Normalzeit)

On 02 Nov 2002 22:29:19 +0100 Adam Dunkels <address@hidden> wrote:
> Hi!
> 
> On Sat, 2002-10-26 at 16:37, Florian Schulze wrote:
> > On Windows I can't define a macro to do the packing, because no # is
> > allowed in macros, this rules out #pragmas for packing and #includes.
> So
> > I would add two include files begin_pack_struct.h and end_pack_struct.h
> > which then would be included before and after the relevant structs.
> Those
> > include files would be placed in the arch directorys for every
> > architecture. Would this be ok and in which directory they should be
> then?
> 
> I vote for the change to those header files. The best place would
> probably be arch/*/include/arch/. Also, it is probably a good idea to
> let the filenames be of the 8.3 kind. bpstruct.h and epstruct.h perhaps?

The directory is ok I think, as the current defines for structure packing
are in cc.h in that directory. I tried thinking of another filename, but in
8 chars this is the most descriptive one I think.

Florian







reply via email to

[Prev in Thread] Current Thread [Next in Thread]