[Darwin] Port YottaDB to Darwin (MacOS/OS X)
Squash several commits over several years into a single commit. This includes work from Sam Habiel, Amul, and Christopher Edwards.
Assembly file changes:
- Add ifdef around the .section as the Apple linker doesn't support the syntax on the line
ydbinstall:
- change
uname -o
touname -s
asuname -o
is not supported on APPLE (this changes from "GNU/Linux" to "Linux")
Others:
-
Change page size to use portable code to get the page size from sysconf
-
Change SIGCLD to SIGCHLD as SIGCHLD is the new recognized name and recognized by both Linux and APPLE