On Thu, 21 Nov 2024, Corinna Vinschen via Cygwin wrote:

> IMHO:
>
>   if (IsWow64Process2 (GetCurrentProcess (), &emulated, &hosted))
>       && emulated != IMAGE_FILE_MACHINE_UNKNOWN)
>     if (hosted == IMAGE_FILE_MACHINE_AMD64)
>       strcat (sysname, "-WOW64");
>     else if (hosted == IMAGE_FILE_MACHINE_ARM64)
>       strcat (sysname, "-ARM64");
>     else
>       stract (sysname, "-WTF");
>     }

If only it were that easy ;)

Patches incoming to cygwin-patches, though I bet they will not be ready to
apply yet, at least some of the more theoretical cases will probably want
to be removed.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to