HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32

Julian Elischer julian at elischer.org
Fri Mar 12 18:58:23 UTC 2010


David O'Brien wrote:

> Yes names matter.  Otherwise we would have made it "DEF8931".  #define
> names are chosen to be self-documenting.
> 
>   $ grep COMPAT_FREEBSD conf/*
>   conf/NOTES:# Note that as a general rule, COMPAT_FREEBSD<n> depends on
>   conf/NOTES:# COMPAT_FREEBSD<n+1>, COMPAT_FREEBSD<n+2>, etc.
>   conf/NOTES:options      COMPAT_FREEBSD4
>   conf/NOTES:options      COMPAT_FREEBSD5
>   conf/NOTES:options      COMPAT_FREEBSD6
>   conf/NOTES:options      COMPAT_FREEBSD7
>   conf/options:COMPAT_FREEBSD4    opt_compat.h
>   conf/options:COMPAT_FREEBSD5    opt_compat.h
>   conf/options:COMPAT_FREEBSD6    opt_compat.h
>   conf/options:COMPAT_FREEBSD7    opt_compat.h
> 
> COMPAT_FREEBSD32 is not the same as any of the other well established
> "COMPAT_FREEBSD" macros.  So I do see where this could lead to confusion
> to users.
> 

just add BIT on the end..
COMPAT_FREEBSD32BIT




More information about the freebsd-current mailing list