Fix for Visual Studio
removed useless errno throws