Re: [Mingw-w64-public] errno.h or winerror.h ?

2016-09-17 Thread David Wohlferd
I believe the values from errno.h are intended to provide POSIX compatibility for the (now defunct) Windows posix subsystem. I'd wouldn't expect any API from XP or later to return these values. OTOH, I don't know how the errcclass from gcc's error_constants.h is actually used. Maybe somebody

[Mingw-w64-public] errno.h or winerror.h ?

2016-09-17 Thread niXman
Hi, I want to restore the order in 'error_constants.h'[1] file, because there are so many constants commented out in this file. But I have a difficulty: for example, with macro 'EAFNOSUPPORT'. This macro is defined in 'errno.h'[2] file and in 'winerror.h'(but with 'WSA' prefix)[3] file. I hav