lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Small typo


From: Simon Goldschmidt
Subject: Re: [lwip-devel] Small typo
Date: Fri, 25 Nov 2011 22:47:33 +0100

Gisle Vanem <address@hidden> wrote:

>> #ifndef LWIP_TOP
>> LWIP_TOP=../../../../lwip/src/
>> #endif
>> #include LWIP_TOP/core/inet_chksum.c
> 
> Good idea.

The MS C compiler (or preprocessor) does not seem to allow something like that, 
it expects only one string after the include statement. What I did instead was 
to make the include path relative to lwIPs include directory:
#include "../core/inet_chksum.c"

Simon



reply via email to

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