> From: Bruno Haible <[email protected]> > Cc: [email protected] > Date: Sun, 25 Jan 2026 07:41:30 +0100 > > Eli Zaretskii wrote: > > > > > This is because the MinGW wchar.h includes wctype.h ... > > > In your mingw <wchar.h>, is there some preprocessor definition, that we > > > could test (similar to __CTYPE_H_SOURCED__)? > > > > I'm not sure I understand what do you want to do if this hypothetical > > test yields true. Do you want that condition for including wchar.h > > from wctype.h or for something else? > > I want to know: In the mingw wchar.h, from the top of the file to the > place where it does '#include <wctype.h>', what are the names of the > C macros that are defined via '#define'? Please list at least the first > three and the last three (or all if there are fewer than six.) Thanks.
I see only one: _WCHAR_H. But it's the idempotency guard of wchar.h, and will be defined once wchar.h was included for the first time, so I'm not sure it's what you want.
