55746Re: [patch] has("win64") returns 0 in 64-bit Vim
- Jan 5, 2010Well,
> Isn't that only checking the type of CPU that the vim binary was builtCPU in makefile defines target CPU.
> with, instead of whether it was built as an x64 binary? Or does
> defining WIN64 cause an x64 binary to be built instead?
-DWIN64 passed to compiler does nothing besides pointing out to source
code we are targeting x64 or IA64.
> I'm not sure what has("win64") should be returning based only onSource code clearly states it was meant as a compile-time check:
> reading the help, but I'd imagine it should either be a) whether the
> vim binary itself is a 64 bit binary, or b) whether the OS that the
> binary is running on is a 64-bit version of windows. The latter seems
> more useful, but I'm not sure just from the help. If I'm right,
> though, it would have to be a runtime test; nothing at compile time
> could do the trick.
Honestly, I'm not sure what's the point in knowledge what OS version
we are running.
Can anybody think of a good tagline I can steal?
- << Previous post in topic Next post in topic >>