[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: [lwip-devel] get_version()?
From: |
Kieran Mansley |
Subject: |
Re: R: [lwip-devel] get_version()? |
Date: |
Tue, 28 Oct 2008 15:46:40 +0000 |
On Tue, 2008-10-28 at 16:43 +0100, Ceresoli Luca wrote:
> Kieran Mansley wrote:
> > void raw_version(int *major, int *minor, int *revision);
>
> I prefer this other flavour:
> #define LWIP_VERSION 0x00XXYYZZ /* XX=major, YY=minor, ZZ=revision */
>
> This allows a simple integer comaprison between version numbers.
OK, that's fine with me too. That should see us through to lwIP version
255, and by then I hope it will be someone else's problem!
Kieran