mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 05:29:17 +01:00
Remove the `ByteOrder.h` and `SupportDefs.h` Haiku-specific headers from `bsd/endian.h` on GCC >= 4 and replace them with compiler builtins. This prevents some unwanted symbols like `type_code` causing name clashes in ported applications. Change-Id: Id88791ea5954c260f4e7f5e82a564f3ae6bafe69 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7642 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>