wined3d: Cleanup shader_glsl_load_psamplers().
[wine] / include / msvcrt / errno.h
1 /*
2  * Copyright 2001 Jon Griffiths
3  *
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.
8  *
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.
13  *
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
17  */
18
19 #ifndef __WINE_ERRNO_H
20 #define __WINE_ERRNO_H
21 #ifndef __WINE_USE_MSVCRT
22 #define __WINE_USE_MSVCRT
23 #endif
24
25 #  define EPERM   1
26 #  define ENOENT  2
27 #  define ESRCH   3
28 #  define EINTR   4
29 #  define EIO     5
30 #  define ENXIO   6
31 #  define E2BIG   7
32 #  define ENOEXEC 8
33 #  define EBADF   9
34 #  define ECHILD  10
35 #  define EAGAIN  11
36 #  define ENOMEM  12
37 #  define EACCES  13
38 #  define EFAULT  14
39 #  define EBUSY   16
40 #  define EEXIST  17
41 #  define EXDEV   18
42 #  define ENODEV  19
43 #  define ENOTDIR 20
44 #  define EISDIR  21
45 #  define EINVAL  22
46 #  define ENFILE  23
47 #  define EMFILE  24
48 #  define ENOTTY  25
49 #  define EFBIG   27
50 #  define ENOSPC  28
51 #  define ESPIPE  29
52 #  define EROFS   30
53 #  define EMLINK  31
54 #  define EPIPE   32
55 #  define EDOM    33
56 #  define ERANGE  34
57 #  define EDEADLK 36
58 #  define EDEADLOCK EDEADLK
59 #  define ENAMETOOLONG 38
60 #  define ENOLCK  39
61 #  define ENOSYS  40
62 #  define ENOTEMPTY 41
63 #  define EILSEQ    42
64
65 #ifdef __cplusplus
66 extern "C" {
67 #endif
68
69 extern int* _errno(void);
70
71 #ifdef __cplusplus
72 }
73 #endif
74
75 #define errno        (*_errno())
76
77 #endif  /* __WINE_ERRNO_H */