diff options
| author | Brent Cook <busterb@gmail.com> | 2021-11-09 07:17:04 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2021-11-09 07:17:04 -0600 |
| commit | c29f380d0c604efee33672172929c2e57554924f (patch) | |
| tree | 954ac1f8cc8fa55a56f4b3116d4919f9653b7da2 /include/compat/machine | |
| parent | b3b087416cdfb8061a42a0a8e46455b9156074d0 (diff) | |
| parent | fcf6c877881626ee2ac94fc77051c79e3f7ae7ce (diff) | |
| download | portable-c29f380d0c604efee33672172929c2e57554924f.tar.gz portable-c29f380d0c604efee33672172929c2e57554924f.tar.bz2 portable-c29f380d0c604efee33672172929c2e57554924f.zip | |
Land #689, support OSes with some non-POSIX headers
Diffstat (limited to 'include/compat/machine')
| -rw-r--r-- | include/compat/machine/endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compat/machine/endian.h b/include/compat/machine/endian.h index 4dcb60d..bb22f5b 100644 --- a/include/compat/machine/endian.h +++ b/include/compat/machine/endian.h | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | #define BYTE_ORDER BIG_ENDIAN | 21 | #define BYTE_ORDER BIG_ENDIAN |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | #elif defined(__linux__) || defined(__midipix__) | 24 | #elif defined(HAVE_ENDIAN_H) |
| 25 | #include <endian.h> | 25 | #include <endian.h> |
| 26 | 26 | ||
| 27 | #elif defined(__sun) || defined(_AIX) || defined(__hpux) | 27 | #elif defined(__sun) || defined(_AIX) || defined(__hpux) |
