--- - branch: MAIN date: Sun May 30 10:39:41 UTC 2021 files: - new: '1.120' old: '1.119' path: src/tools/compat/compat_defs.h pathrev: src/tools/compat/compat_defs.h@1.120 type: modified id: 20210530T103941Z.7d10576b96c7c080f6bd0460b53d4ff2e16f0933 log: | PR port-amiga/56188 Include a prototype for __nbcompat_heapsort. The tools for amiga now build on Darwin where one Amiga specific tool uses heapsort. Despite being a one-liner, ./build.sh -m amiga tools was tested on NetBSD, Darwin, FreeBSD & Linux with the change. Discussed various options with jdc & thorpej. Perhaps in the future we could look at using qsort instead of heapsort as qsort is standardised and more likely to be available. We could then remove heapsort from the compatibility library. module: src subject: 'CVS commit: src/tools/compat' unixtime: '1622371181' user: cjep