| To: | "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 3 Jul 2004 20:02:08 +1000 |
| Cc: | davem@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040703.190042.70899669.yoshfuji@xxxxxxxxxxxxxx> |
| References: | <20040703095215.GA16195@xxxxxxxxxxxxxxxxxxx> <20040703.190042.70899669.yoshfuji@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040523i |
On Sat, Jul 03, 2004 at 07:00:42PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > > Well, I think we'd better to do > > #define XFRM_MSG_GETSA XFRM_MSG_GETSA > > etc. because this would break (future) applications which do > #ifdef. I think such applications are broken. They should compile with headers that define these symbols and test for their support at run-time. Applications should not detect kernel features at compile-time. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |