Import Upstream version 20180207
[hcoop/debian/mlton.git] / runtime / basis / Posix / Error-consts.c
CommitLineData
7f918cf1
CE
1#include "platform.h"
2
3#ifndef E2BIG
4#define E2BIG -1
5#endif
6const C_Int_t Posix_Error_E2BIG = E2BIG;
7#ifndef EACCES
8#define EACCES -1
9#endif
10const C_Int_t Posix_Error_EACCES = EACCES;
11#ifndef EADDRINUSE
12#define EADDRINUSE -1
13#endif
14const C_Int_t Posix_Error_EADDRINUSE = EADDRINUSE;
15#ifndef EADDRNOTAVAIL
16#define EADDRNOTAVAIL -1
17#endif
18const C_Int_t Posix_Error_EADDRNOTAVAIL = EADDRNOTAVAIL;
19#ifndef EAFNOSUPPORT
20#define EAFNOSUPPORT -1
21#endif
22const C_Int_t Posix_Error_EAFNOSUPPORT = EAFNOSUPPORT;
23#ifndef EAGAIN
24#define EAGAIN -1
25#endif
26const C_Int_t Posix_Error_EAGAIN = EAGAIN;
27#ifndef EALREADY
28#define EALREADY -1
29#endif
30const C_Int_t Posix_Error_EALREADY = EALREADY;
31#ifndef EBADF
32#define EBADF -1
33#endif
34const C_Int_t Posix_Error_EBADF = EBADF;
35#ifndef EBADMSG
36#define EBADMSG -1
37#endif
38const C_Int_t Posix_Error_EBADMSG = EBADMSG;
39#ifndef EBUSY
40#define EBUSY -1
41#endif
42const C_Int_t Posix_Error_EBUSY = EBUSY;
43#ifndef ECANCELED
44#define ECANCELED -1
45#endif
46const C_Int_t Posix_Error_ECANCELED = ECANCELED;
47#ifndef ECHILD
48#define ECHILD -1
49#endif
50const C_Int_t Posix_Error_ECHILD = ECHILD;
51#ifndef ECONNABORTED
52#define ECONNABORTED -1
53#endif
54const C_Int_t Posix_Error_ECONNABORTED = ECONNABORTED;
55#ifndef ECONNREFUSED
56#define ECONNREFUSED -1
57#endif
58const C_Int_t Posix_Error_ECONNREFUSED = ECONNREFUSED;
59#ifndef ECONNRESET
60#define ECONNRESET -1
61#endif
62const C_Int_t Posix_Error_ECONNRESET = ECONNRESET;
63#ifndef EDEADLK
64#define EDEADLK -1
65#endif
66const C_Int_t Posix_Error_EDEADLK = EDEADLK;
67#ifndef EDESTADDRREQ
68#define EDESTADDRREQ -1
69#endif
70const C_Int_t Posix_Error_EDESTADDRREQ = EDESTADDRREQ;
71#ifndef EDOM
72#define EDOM -1
73#endif
74const C_Int_t Posix_Error_EDOM = EDOM;
75#ifndef EDQUOT
76#define EDQUOT -1
77#endif
78const C_Int_t Posix_Error_EDQUOT = EDQUOT;
79#ifndef EEXIST
80#define EEXIST -1
81#endif
82const C_Int_t Posix_Error_EEXIST = EEXIST;
83#ifndef EFAULT
84#define EFAULT -1
85#endif
86const C_Int_t Posix_Error_EFAULT = EFAULT;
87#ifndef EFBIG
88#define EFBIG -1
89#endif
90const C_Int_t Posix_Error_EFBIG = EFBIG;
91#ifndef EHOSTUNREACH
92#define EHOSTUNREACH -1
93#endif
94const C_Int_t Posix_Error_EHOSTUNREACH = EHOSTUNREACH;
95#ifndef EIDRM
96#define EIDRM -1
97#endif
98const C_Int_t Posix_Error_EIDRM = EIDRM;
99#ifndef EILSEQ
100#define EILSEQ -1
101#endif
102const C_Int_t Posix_Error_EILSEQ = EILSEQ;
103#ifndef EINPROGRESS
104#define EINPROGRESS -1
105#endif
106const C_Int_t Posix_Error_EINPROGRESS = EINPROGRESS;
107#ifndef EINTR
108#define EINTR -1
109#endif
110const C_Int_t Posix_Error_EINTR = EINTR;
111#ifndef EINVAL
112#define EINVAL -1
113#endif
114const C_Int_t Posix_Error_EINVAL = EINVAL;
115#ifndef EIO
116#define EIO -1
117#endif
118const C_Int_t Posix_Error_EIO = EIO;
119#ifndef EISCONN
120#define EISCONN -1
121#endif
122const C_Int_t Posix_Error_EISCONN = EISCONN;
123#ifndef EISDIR
124#define EISDIR -1
125#endif
126const C_Int_t Posix_Error_EISDIR = EISDIR;
127#ifndef ELOOP
128#define ELOOP -1
129#endif
130const C_Int_t Posix_Error_ELOOP = ELOOP;
131#ifndef EMFILE
132#define EMFILE -1
133#endif
134const C_Int_t Posix_Error_EMFILE = EMFILE;
135#ifndef EMLINK
136#define EMLINK -1
137#endif
138const C_Int_t Posix_Error_EMLINK = EMLINK;
139#ifndef EMSGSIZE
140#define EMSGSIZE -1
141#endif
142const C_Int_t Posix_Error_EMSGSIZE = EMSGSIZE;
143#ifndef EMULTIHOP
144#define EMULTIHOP -1
145#endif
146const C_Int_t Posix_Error_EMULTIHOP = EMULTIHOP;
147#ifndef ENAMETOOLONG
148#define ENAMETOOLONG -1
149#endif
150const C_Int_t Posix_Error_ENAMETOOLONG = ENAMETOOLONG;
151#ifndef ENETDOWN
152#define ENETDOWN -1
153#endif
154const C_Int_t Posix_Error_ENETDOWN = ENETDOWN;
155#ifndef ENETRESET
156#define ENETRESET -1
157#endif
158const C_Int_t Posix_Error_ENETRESET = ENETRESET;
159#ifndef ENETUNREACH
160#define ENETUNREACH -1
161#endif
162const C_Int_t Posix_Error_ENETUNREACH = ENETUNREACH;
163#ifndef ENFILE
164#define ENFILE -1
165#endif
166const C_Int_t Posix_Error_ENFILE = ENFILE;
167#ifndef ENOBUFS
168#define ENOBUFS -1
169#endif
170const C_Int_t Posix_Error_ENOBUFS = ENOBUFS;
171#ifndef ENODATA
172#define ENODATA -1
173#endif
174const C_Int_t Posix_Error_ENODATA = ENODATA;
175#ifndef ENODEV
176#define ENODEV -1
177#endif
178const C_Int_t Posix_Error_ENODEV = ENODEV;
179#ifndef ENOENT
180#define ENOENT -1
181#endif
182const C_Int_t Posix_Error_ENOENT = ENOENT;
183#ifndef ENOEXEC
184#define ENOEXEC -1
185#endif
186const C_Int_t Posix_Error_ENOEXEC = ENOEXEC;
187#ifndef ENOLCK
188#define ENOLCK -1
189#endif
190const C_Int_t Posix_Error_ENOLCK = ENOLCK;
191#ifndef ENOLINK
192#define ENOLINK -1
193#endif
194const C_Int_t Posix_Error_ENOLINK = ENOLINK;
195#ifndef ENOMEM
196#define ENOMEM -1
197#endif
198const C_Int_t Posix_Error_ENOMEM = ENOMEM;
199#ifndef ENOMSG
200#define ENOMSG -1
201#endif
202const C_Int_t Posix_Error_ENOMSG = ENOMSG;
203#ifndef ENOPROTOOPT
204#define ENOPROTOOPT -1
205#endif
206const C_Int_t Posix_Error_ENOPROTOOPT = ENOPROTOOPT;
207#ifndef ENOSPC
208#define ENOSPC -1
209#endif
210const C_Int_t Posix_Error_ENOSPC = ENOSPC;
211#ifndef ENOSR
212#define ENOSR -1
213#endif
214const C_Int_t Posix_Error_ENOSR = ENOSR;
215#ifndef ENOSTR
216#define ENOSTR -1
217#endif
218const C_Int_t Posix_Error_ENOSTR = ENOSTR;
219#ifndef ENOSYS
220#define ENOSYS -1
221#endif
222const C_Int_t Posix_Error_ENOSYS = ENOSYS;
223#ifndef ENOTCONN
224#define ENOTCONN -1
225#endif
226const C_Int_t Posix_Error_ENOTCONN = ENOTCONN;
227#ifndef ENOTDIR
228#define ENOTDIR -1
229#endif
230const C_Int_t Posix_Error_ENOTDIR = ENOTDIR;
231#ifndef ENOTEMPTY
232#define ENOTEMPTY -1
233#endif
234const C_Int_t Posix_Error_ENOTEMPTY = ENOTEMPTY;
235#ifndef ENOTSOCK
236#define ENOTSOCK -1
237#endif
238const C_Int_t Posix_Error_ENOTSOCK = ENOTSOCK;
239#ifndef ENOTSUP
240#define ENOTSUP -1
241#endif
242const C_Int_t Posix_Error_ENOTSUP = ENOTSUP;
243#ifndef ENOTTY
244#define ENOTTY -1
245#endif
246const C_Int_t Posix_Error_ENOTTY = ENOTTY;
247#ifndef ENXIO
248#define ENXIO -1
249#endif
250const C_Int_t Posix_Error_ENXIO = ENXIO;
251#ifndef EOPNOTSUPP
252#define EOPNOTSUPP -1
253#endif
254const C_Int_t Posix_Error_EOPNOTSUPP = EOPNOTSUPP;
255#ifndef EOVERFLOW
256#define EOVERFLOW -1
257#endif
258const C_Int_t Posix_Error_EOVERFLOW = EOVERFLOW;
259#ifndef EPERM
260#define EPERM -1
261#endif
262const C_Int_t Posix_Error_EPERM = EPERM;
263#ifndef EPIPE
264#define EPIPE -1
265#endif
266const C_Int_t Posix_Error_EPIPE = EPIPE;
267#ifndef EPROTO
268#define EPROTO -1
269#endif
270const C_Int_t Posix_Error_EPROTO = EPROTO;
271#ifndef EPROTONOSUPPORT
272#define EPROTONOSUPPORT -1
273#endif
274const C_Int_t Posix_Error_EPROTONOSUPPORT = EPROTONOSUPPORT;
275#ifndef EPROTOTYPE
276#define EPROTOTYPE -1
277#endif
278const C_Int_t Posix_Error_EPROTOTYPE = EPROTOTYPE;
279#ifndef ERANGE
280#define ERANGE -1
281#endif
282const C_Int_t Posix_Error_ERANGE = ERANGE;
283#ifndef EROFS
284#define EROFS -1
285#endif
286const C_Int_t Posix_Error_EROFS = EROFS;
287#ifndef ESPIPE
288#define ESPIPE -1
289#endif
290const C_Int_t Posix_Error_ESPIPE = ESPIPE;
291#ifndef ESRCH
292#define ESRCH -1
293#endif
294const C_Int_t Posix_Error_ESRCH = ESRCH;
295#ifndef ESTALE
296#define ESTALE -1
297#endif
298const C_Int_t Posix_Error_ESTALE = ESTALE;
299#ifndef ETIME
300#define ETIME -1
301#endif
302const C_Int_t Posix_Error_ETIME = ETIME;
303#ifndef ETIMEDOUT
304#define ETIMEDOUT -1
305#endif
306const C_Int_t Posix_Error_ETIMEDOUT = ETIMEDOUT;
307#ifndef ETXTBSY
308#define ETXTBSY -1
309#endif
310const C_Int_t Posix_Error_ETXTBSY = ETXTBSY;
311#ifndef EWOULDBLOCK
312#define EWOULDBLOCK -1
313#endif
314const C_Int_t Posix_Error_EWOULDBLOCK = EWOULDBLOCK;
315#ifndef EXDEV
316#define EXDEV -1
317#endif
318const C_Int_t Posix_Error_EXDEV = EXDEV;
319