view src/win32/wgaimerror.h @ 5116:c081a81ee013

[gaim-migrate @ 5479] Bjoern Voigt writes: "I have prepared some updates and patches: 1) File i18n5-de.patch - updated German translation 2) File i18n5.patch - new files in po/POTFILES.in - new strings marked for translation 3) File i18n5-accelgroup.patch - keyboard accelerators for conversation window 4) File i18n5-gaim-remote.patch - i18n support for gaim-remote.c - correct handling of "--help" option" committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 12 Apr 2003 23:31:41 +0000
parents 391fd7aebe7c
children 9657e243d001
line wrap: on
line source

/*
 *  wgaimerror.h
 *
 *  Author: Herman Bloggs <hermanator12002@yahoo.com>
 *  Date: October 14, 2002
 *  Description: Redefine Unix Errors
 */

#ifndef _WGAIMERROR_H
#define _WGAIMERROR_H

/* Here we define unix socket errors as windows socket errors */

#define ENETDOWN WSAENETDOWN
#define EAFNOSUPPORT WSAEAFNOSUPPORT
#define EINPROGRESS WSAEINPROGRESS
#define ENOBUFS WSAENOBUFS
#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
#define EPROTOTYPE WSAEPROTOTYPE
#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT

#define EADDRINUSE WSAEADDRINUSE
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
#define ECONNREFUSED WSAECONNREFUSED
#define EISCONN WSAEISCONN
#define ENETUNREACH WSAENETUNREACH
#define ENOTSOCK WSAENOTSOCK
#define ETIMEDOUT WSAETIMEDOUT
#define EWOULDBLOCK WSAEWOULDBLOCK

#define ENOTCONN WSAENOTCONN
#define ENETRESET WSAENETRESET
#define EOPNOTSUPP WSAEOPNOTSUPP
#define ESHUTDOWN WSAESHUTDOWN
#define EMSGSIZE WSAEMSGSIZE
#define ECONNABORTED WSAECONNABORTED
#define ECONNRESET WSAECONNRESET

#endif /* end _WGAIMERROR_H */