It was removed in mingw-w64/mingw-w64@6affcc5d15 Let's just used the default Windows API for this in all cases.