BeOS patches by "shatty" <shatty at myrealbox.com>
[libav.git] / berrno.h
1 #ifndef BERRNO_H
2 #define BERRNO_H
3
4 #include <Errors.h>
5
6 #ifdef ENOENT
7 #undef ENOENT
8 #endif
9 #define ENOENT 2
10
11 #ifdef EINTR
12 #undef EINTR
13 #endif
14 #define EINTR 4
15
16 #ifdef EIO
17 #undef EIO
18 #endif
19 #define EIO 5
20
21 #ifdef EAGAIN
22 #undef EAGAIN
23 #endif
24 #define EAGAIN 11
25
26 #ifdef ENOMEM
27 #undef ENOMEM
28 #endif
29 #define ENOMEM 12
30
31 #ifdef EINVAL
32 #undef EINVAL
33 #endif
34 #define EINVAL 22
35
36 #ifdef EPIPE
37 #undef EPIPE
38 #endif
39 #define EPIPE 32
40
41 #endif /* BERRNO_H */