Changes between Version 1 and Version 2 of Ticket #58935, comment 8
- Timestamp:
- Oct 7, 2019, 3:43:37 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58935, comment 8
v1 v2 3 3 I wonder how to do this correctly, though. 4 4 5 We'd probably need to use the public (if it can even be considered public...) `__DARWIN_ALIAS_I` macro for our `fdopendir` definition, but that's only one part of what needs to be changed. We also basically need compile the same source code twice (or thrice? or four times?) based on the architecture with different macro values set and eventually combine the individual object files into one archive.5 We'd probably need to use the public (if it can even be considered public...) `__DARWIN_ALIAS_I` macro for our `fdopendir` definition, but that's only one part of what needs to be changed. We also basically need to compile the same source code twice (or thrice? or four times?) based on the architecture with different macro values set and eventually combine the individual object files into one archive. 6 6 7 7 N.B.: I fear `fdopendir` is not the only symbol affected by this, a quick look around revealed that the `fstat` function is also only included once in `libM(p)LS` - WITH the `$INODE64` suffix on my 10.9 machine.