1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Build tweaks for ancient Macs

I don't expect anyone else to actually use ksh93 on a museum-grade
Power Mac G5 running Mac OS X 10.3.7, but ancient platforms are
great bug and compatibility testing tools. These tweaks restore the
ability to build on that platform.

Also, to avoid a strange path search bug on that platform and
possibly other ancient ones, set SHOPT_DYNAMIC to 0 in SHOPT.sh.
This commit is contained in:
Martijn Dekker 2021-08-11 01:42:15 +02:00
parent d25dbcc1ef
commit 3937536bee
3 changed files with 14 additions and 2 deletions

View file

@ -52,6 +52,10 @@
# define vfork() fork()
#endif
#if _lib_getrusage && !defined(RUSAGE_SELF)
# include <sys/resource.h>
#endif
#define SH_NTFORK SH_TIMING
#define NV_BLTPFSH NV_ARRAY