lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] [Bulk] Re: Where to get the LwIP version information


From: Gisle Vanem
Subject: Re: [lwip-users] [Bulk] Re: Where to get the LwIP version information
Date: Mon, 09 Feb 2015 21:23:24 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32.1

Sergio R. Caprile wrote:
$ grep -R VERSION programming/lwip/lwip
programming/lwip/lwip/src/include/lwip/init.h:#define
LWIP_VERSION_MAJOR      1U
programming/lwip/lwip/src/include/lwip/init.h:#define
LWIP_VERSION_MINOR      4U

BTW. The 'U' suffixes makes problems when including "init.h"
in a Windows resource-file. And all good libs/programs should
have a version-resource. No?

I had to use some grep-tricks to filter out those 'U'
before passing rhe lwip.rc file to rc/windres:

   #define RC_VERSION      $(VER_MAJOR),$(VER_MINOR),$(VER_REVISION),$(VER_RC)

--
--gv



reply via email to

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