On 2021-12-21 at 11:41:37 +0100, luigi scarso wrote: > On Wed, Sep 8, 2021 at 9:56 AM luigi scarso <luigi.sca...@gmail.com> wrote: > > > > > > > On Sun, Sep 5, 2021 at 7:48 PM Reinhard Kotucha <reinhard.kotu...@web.de> > > wrote: > > > >> > >> Obviously. But I doubt that wProcessorLevel is what's needed here. > >> Isn't there something like wProcessorArchitecture that distinguishes > >> between 32 and 64 bit? > >> > > > > seems so. I will check this weekend . > > > > -- > > luigi > > > > It should be fixed, > we have now more PROCESSOR_ARCHITECTURE : > > + case PROCESSOR_ARCHITECTURE_AMD64: > + strcpy(uts->machine, "amd64"); > + break; > + case PROCESSOR_ARCHITECTURE_ARM: > + strcpy(uts->machine, "arm"); > + break; > + case PROCESSOR_ARCHITECTURE_ARM64: > + strcpy(uts->machine, "arm64"); > + break; > + case PROCESSOR_ARCHITECTURE_IA64: > + strcpy(uts->machine, "ia64"); > + break;
Thank you Luigi! Currently I get "x86_64" on Linux. Will it be sufficient check whether the string ends with '64' in order to determine reliably whether I'm on a 64 bit machine? That would be nice because conditional code or table lookups can be avoided. Regards, Reinhard -- ------------------------------------------------------------------ Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotu...@web.de ------------------------------------------------------------------ _______________________________________________ dev-luatex mailing list dev-luatex@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-luatex