svn commit: r200606 - in head/sys: compat/freebsd32 sys

Ed Schouten ed at 80386.nl
Fri Dec 18 16:36:28 UTC 2009


Hello DES,

First of all: happy birthday!

* Dag-Erling Smørgrav <des at des.no> wrote:
> perhaps we should simply add the appropriate
> #ifndef / #error constructs so you can't define FREEBSD_COMPAT(n)
> without FREEBSD_COMPAT(n+1).

Why not make COMPAT_FREEBSD numerical?

| options COMPAT_FREEBSD=4

and let the code use:

| #if COMPAT_FREEBSD <= 4
| ...
| #endif

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20091218/2097aaf6/attachment.pgp


More information about the svn-src-head mailing list