Hi Bruno, Bruno Haible <br...@clisp.org> writes:
> But should this condition > > #if defined _WIN64 && !defined __CYGWIN__ > > not better be > > #if !(defined _WIN32 && !defined _WIN64 && !defined __CYGWIN__) > > ? Good question. I wasn't exactly sure how _WIN32 and _WIN64 were defined and copied the condition from m4/pid_t.m4. Microsoft says [1]: * _WIN32 Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, or x64. Otherwise, undefined. * _WIN64 Defined as 1 when the compilation target is 64-bit ARM or x64. Otherwise, undefined. So either would work I believe. Collin [1] https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170#microsoft-specific-predefined-macros