Re: [MacPorts] #71656: vim build error: storage size of ‘vm_stat’ isn’t known
MacPorts
noreply at macports.org
Fri Dec 27 22:32:02 UTC 2024
#71656: vim build error: storage size of ‘vm_stat’ isn’t known
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: vim |
---------------------------+--------------------
Comment (by kencu):
You might look at the macro that Apple and others recommend for checking
for 32 vs 64 compilation, {{{__LP64__}}}.
https://forums.developer.apple.com/forums/thread/85816
https://bignerdranch.com/blog/64-bit-smorgasbord/
https://www.cita.utoronto.ca/~merz/intel_c10b/main_cls/mergedProjects/bldaps_cls/cppug_mac/bldaps_mac_target.htm
https://stackoverflow.com/questions/685124/how-to-identify-a-64-bit-build-
on-linux-using-the-preprocessor
https://gcc.gnu.org/onlinedocs/gcc-4.4.0/cpp/Common-Predefined-Macros.html
{{{
__LP64__
_LP64
These macros are defined, with value 1, if (and only if) the compilation
is for a target where long int and pointer both use 64-bits and int uses
32-bit.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71656#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list