2 * Copyright 2001 Jon Griffiths
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_ERRNO_H
20 #define __WINE_ERRNO_H
57 # define EDEADLOCK EDEADLK
58 # define ENAMETOOLONG 38
66 #ifndef _CRT_NO_POSIX_ERROR_CODES
67 # define EADDRINUSE 100
68 # define EADDRNOTAVAIL 101
69 # define EAFNOSUPPORT 102
72 # define ECANCELED 105
73 # define ECONNABORTED 106
74 # define ECONNREFUSED 107
75 # define ECONNRESET 108
76 # define EDESTADDRREQ 109
77 # define EHOSTUNREACH 110
79 # define EINPROGRESS 112
84 # define ENETRESET 117
85 # define ENETUNREACH 118
90 # define ENOPROTOOPT 123
94 # define ENOTRECOVERABLE 127
97 # define EOPNOTSUPP 130
99 # define EOVERFLOW 132
100 # define EOWNERDEAD 133
102 # define EPROTONOSUPPORT 135
103 # define EPROTOTYPE 136
105 # define ETIMEDOUT 138
107 # define EWOULDBLOCK 140
114 _ACRTIMP
int* __cdecl
_errno(void);
120 #define errno (*_errno())
122 #endif /* __WINE_ERRNO_H */