https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61889
--- Comment #31 from Rainer Emrich <rai...@emrich-ebersheim.de> --- (In reply to Kai Tietz from comment #30) > Yes, this patch slipped under my radar. It would be good if you - Rainer - > would have pinged on it. As far as I recalled I awaited at that time a full > patch by Rong on this subject. (See comment #16 and after that). Sorry, I had not much time the last few month. > Nevertheless patch looks ok. I will give it some testing and will apply it > after that. The change to undef mkdir in libgcc's part of the patch looks > to me being the real patch. The patch in gcc's part is more cosmetic part > getting rid of this (also mentioned to Rong too) wrong _WIN32 check. This part is necessary because otherwise the definition of the mkdir macro in system.h expects 2 arguments what isn't satisfied.