Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/external/cddl/osnet/sys/sys



Module Name:    src
Committed By:   martin
Date:           Sat Oct 26 14:59:40 UTC 2024

Modified Files:
        src/external/cddl/osnet/sys/sys [netbsd-9]: types.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #1915):

        external/cddl/osnet/sys/sys/types.h: revision 1.21

- Remove conditional code for HAVE_NBTOOLS_CONFIG_H. The variable name was
   wrong anyway (it is HAVE_NBTOOL_CONFIG_H) so the code never worked as
   intended.
- Do not define _NETBSD_SOURCE even temporarily. It broke the tools
   build because <sys/types.h> includes <sys/endian.h> and with _NETBSD_SOURCE
   defined, this exposes the *enc and *dec functions which libctf redefines
   if it thinks that the system does not define them (and nbtools_config.h
   tells libctf that we are not defining them).


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.4.1 src/external/cddl/osnet/sys/sys/types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index