Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc expat build as-a-tool fails on macos! (was: freetype build failing with "error: unknown type name 'Byte'")
Date: Wed, 12 Feb 2025 08:42:51 -0800
From: "Greg A. Woods" <woods%planix.ca@localhost>
Message-ID: <m1tiFp6-00Mo5p0@more.local>
| /Volumes/work/woods/g-NetBSD-src/external/mit/expat/dist/../lib/libexpat/expat_config.h:8:10: fatal error: 'endian.h' file not found
| 8 | #include <endian.h>
| | ^~~~~~~~~~
<endian.h> is a new header that's been added to POSIX in Issue 8 (ie:
the 2024 edition). Of course, it has been in NetBSD (and most other
systems, but apparently not macOS for a long time).
I guess the #include should be made to depend upon which version of
the standard is available, and for older systems, just define the
relevant symbols in-line (macos is, probably, always little endian?
If not, there must be some system dependent file that could be
included instead that will provide that info, somehow, which could
be used.)
kre
Home |
Main Index |
Thread Index |
Old Index