Cygwin: clean error mapping
- Move definition of windows to POSIX error mapping struct into cygerrno.h - Move declaration of winsock errno functions to cygerrno.h - Input to error mapping functions is DWORD Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -212,9 +212,6 @@ bool timeval_to_ms (const struct timeval *, DWORD &);
|
||||
void __stdcall set_console_title (char *);
|
||||
void init_console_handler (bool);
|
||||
|
||||
void __reg2 __set_winsock_errno (const char *fn, int ln);
|
||||
#define set_winsock_errno() __set_winsock_errno (__FUNCTION__, __LINE__)
|
||||
|
||||
extern bool wsock_started;
|
||||
|
||||
/* Printf type functions */
|
||||
|
Reference in New Issue
Block a user