git: genassym.cf: Tweak for DragonFly

Aaron LI aly at crater.dragonflybsd.org
Fri Nov 20 06:09:40 PST 2026


commit 5a60e0bb72993e76f0f258c3907883ada3e00c2a
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Nov 20 21:14:49 2026 +0800

    genassym.cf: Tweak for DragonFly
    
    * Don't always define `_KERNEL`, which would cause trouble for libc
      where only `_KERNEL_STRUCTURES` should be defined. So just remove this
      and rely on the command to define the wanted macro.
    * Don't define `offsetof` to avoid redefinition error, because our
      <sys/stdint.h> always defines this macro.

Summary of changes:
 sys/tools/genassym.sh | 2 --
 1 file changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a60e0bb72993e76f0f258c3907883ada3e00c2a


-- 
DragonFly BSD source repository


More information about the Commits mailing list