lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] lwIP for Win32


From: Florian Schulze
Subject: [lwip-users] Re: [lwip] lwIP for Win32
Date: Wed, 08 Jan 2003 22:17:19 -0000

> No, I mean it the other way around; burying a #pragma directive in an 
> #include file like this:
> 
> (In file arp.c)
> #include "arch/begin_pack_struct.h"
> struct arp_hdr {
>   [...]
> };
> #include "arch/end_pack_struct.h"
> 
> (In file arch/begin_pack_struct.h)
> #pragma(push,1)
> 
> (In file arch/end_pack_struct.h)
> #pragma(push,0)
> 
> This obviously works with other preprocessing stuff such as #defines, but 
> will it work with Visual C++'s #pragmas?

This should work. I will test that.

Florian


[This message was sent through the lwip discussion list.]




reply via email to

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