在 2025-10-24 17:06, Martin Storsjö 写道:
This reverts commit fe79aeb9419a9ed88af0d15344d4f3613f5f8614.This change broke building user apps with Qt, if the unistd.h header has been included before. Qt classes have methods named "truncate", and they have a guard like this at the top of a number of headers (e.g. qstring): #ifdef truncate #error qstring.h must be included before any header file that defines truncate #endif Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/unistd.h | 1 - 1 file changed, 1 deletion(-)
LGTM. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
