Add Haiku OS support (#1970)

This commit is contained in:
hfsfox
2023-09-28 22:30:38 +03:00
committed by GitHub
parent fb420bb563
commit 0cf656cd76
6 changed files with 37 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/endian.h>
#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__GLIBC__)
#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__HAIKU__)
#include <endian.h>
#elif defined(__APPLE__) && defined(__MACH__)