diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-07-19 22:23:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-07-19 22:23:40 +0000 |
commit | e1707f52d5a431bd645eb6026801e1ddaf9c79c5 (patch) | |
tree | 811d91e85319d3e234906ed0c8a4fd0ab3d89436 /berrno.h | |
parent | eddbd7e5a09a11fab04f55222f1efa14426f49fe (diff) | |
download | ffmpeg-e1707f52d5a431bd645eb6026801e1ddaf9c79c5.tar.gz |
BeOS patches by "shatty" <shatty at myrealbox.com>
1. errno's are negative on beos, so negating them gives positive values.
2. the -shared flag is -nostart on beos.
3. building the shared lib on beos requires -fomit-frame-pointer
4. beos doesn't have oss support
Originally committed as revision 779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'berrno.h')
-rw-r--r-- | berrno.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/berrno.h b/berrno.h new file mode 100644 index 0000000000..f343706caf --- /dev/null +++ b/berrno.h @@ -0,0 +1,41 @@ +#ifndef BERRNO_H +#define BERRNO_H + +#include <Errors.h> + +#ifdef ENOENT +#undef ENOENT +#endif +#define ENOENT 2 + +#ifdef EINTR +#undef EINTR +#endif +#define EINTR 4 + +#ifdef EIO +#undef EIO +#endif +#define EIO 5 + +#ifdef EAGAIN +#undef EAGAIN +#endif +#define EAGAIN 11 + +#ifdef ENOMEM +#undef ENOMEM +#endif +#define ENOMEM 12 + +#ifdef EINVAL +#undef EINVAL +#endif +#define EINVAL 22 + +#ifdef EPIPE +#undef EPIPE +#endif +#define EPIPE 32 + +#endif /* BERRNO_H */ |