mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
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:
parent
b47e8b0cad
commit
b28ed9e04a
@ -139,7 +139,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BeOS R5 compatible types */
|
/* 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
|
/* 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
|
break all gcc 4 C++ optional packages. I.e. switch that at a suitable
|
||||||
time.
|
time.
|
||||||
|
Loading…
Reference in New Issue
Block a user