HaikuConfig: Don't define __HAIKU_BEOS_COMPATIBLE_TYPES in kernel mode.

This breaks kernel C++ ABI.

This mostly just changes the definition (not the size) of string types,
but in at least one case (daddr_t) it does change the size (from 32-
to 64-bit.)
This commit is contained in:
Augustin Cavalier 2024-09-24 12:10:35 -04:00
parent b47e8b0cad
commit b28ed9e04a

View File

@ -139,7 +139,7 @@
#endif
/* BeOS R5 compatible types */
#if defined(__HAIKU_ARCH_X86)
#if defined(__HAIKU_ARCH_X86) && !defined(_KERNEL_MODE)
/* TODO: This should be "#ifdef __HAIKU_BEOS_COMPATIBLE", but this will
break all gcc 4 C++ optional packages. I.e. switch that at a suitable
time.