haiku/headers/build
Augustin Cavalier 1465ec71a0 build/kernel: Properly shadow syscall functions.
I didn't notice this in the previous commit because apparently GCC2
just links against libroot's versions of them. On GCC5, however,
the version from libroot_build was used even for calls from libroot itself,
which led to infinite loops and then stack overflows.

So instead we must have the "syscall" functions in libroot_build shadow
the real ones by being named differently, which I did by changing their
prefix from "_kern" to "_kernbuild" via preprocessor macros.

Since the build syscalls.h is now substantially different than the non-
build one (and has not been synchronized in nearly a decade anyway),
I've just stripped out all the syscall defns except for the ones actually used
in the build.

Thanks to kallisti5 for helping me debug and test.
2017-12-13 23:40:05 -05:00
..
config headers/build: Use the system's types.h on Haiku. 2017-12-12 18:51:13 -05:00
gcc-2.95.3 Forgot to fix LDBL_MIN... 2014-10-15 13:08:10 +02:00
host headers/build: Use the system's types.h on Haiku. 2017-12-12 18:51:13 -05:00
os build: Use libroot_build on Haiku. 2017-12-13 19:47:39 -05:00
private build/kernel: Properly shadow syscall functions. 2017-12-13 23:40:05 -05:00
BeOSBuildCompatibility.h Only declare strl{cpy,cat} if they aren't defines. 2013-12-17 19:58:51 +01:00
HaikuBuildCompatibility.h Switch to a 64-bit time_t everywhere except 32-bit x86. 2017-06-06 17:38:17 -04:00