vhook watermark patch by (Marcus Engene: ffmpeg, engene se)
[libav.git] / berrno.h
1 #ifndef BERRNO_H
2 #define BERRNO_H
3
4 #include <Errors.h>
5
6 // mmu_man: this is needed for http.c (defined errno)
7 #include <errno.h>
8
9 #ifdef ENOENT
10 #undef ENOENT
11 #endif
12 #define ENOENT 2
13
14 #ifdef EINTR
15 #undef EINTR
16 #endif
17 #define EINTR 4
18
19 #ifdef EIO
20 #undef EIO
21 #endif
22 #define EIO 5
23
24 #ifdef EAGAIN
25 #undef EAGAIN
26 #endif
27 #define EAGAIN 11
28
29 #ifdef ENOMEM
30 #undef ENOMEM
31 #endif
32 #define ENOMEM 12
33
34 #ifdef EINVAL
35 #undef EINVAL
36 #endif
37 #define EINVAL 22
38
39 #ifdef EPIPE
40 #undef EPIPE
41 #endif
42 #define EPIPE 32
43
44 #endif /* BERRNO_H */