diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-09 01:09:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-09 01:09:20 +0200 |
commit | 7626af0b8aeb6ec098c772b5400141b12b36e91a (patch) | |
tree | 40cda1e3d4833c566a6d7fda7a559d357ad242f4 /adk/include/endian.h | |
parent | 496ad14c2b8e2deab8c561d191c7d4563d2aeec0 (diff) |
drop support for non-Linux hosts
Diffstat (limited to 'adk/include/endian.h')
-rw-r--r-- | adk/include/endian.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/adk/include/endian.h b/adk/include/endian.h deleted file mode 100644 index bd94c4976..000000000 --- a/adk/include/endian.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __endian_compat_h -#define __endian_compat_h - -#if defined(__linux__) || defined(__CYGWIN__) -#include <byteswap.h> -#include_next <endian.h> -#elif defined(__APPLE__) -#include <machine/endian.h> -#include <machine/byte_order.h> -#elif defined(__FreeBSD__) -#include <sys/endian.h> -#elif defined(__OpenBSD__) -#include <sys/types.h> -#else -#include <machine/endian.h> -#endif - -#ifndef __BYTE_ORDER -#define __BYTE_ORDER BYTE_ORDER -#endif -#ifndef __BIG_ENDIAN -#define __BIG_ENDIAN BIG_ENDIAN -#endif -#ifndef __LITTLE_ENDIAN -#define __LITTLE_ENDIAN LITTLE_ENDIAN -#endif - -#endif |