Mercurial > libavcodec.hg
comparison common.h @ 572:5a06c3552026 libavcodec
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
author | michaelni |
---|---|
date | Fri, 19 Jul 2002 22:23:40 +0000 |
parents | b746a7d75ce6 |
children | 0b706debf55d |
comparison
equal
deleted
inserted
replaced
571:0a9259126188 | 572:5a06c3552026 |
---|---|
20 #include "config.h" | 20 #include "config.h" |
21 | 21 |
22 #include <stdlib.h> | 22 #include <stdlib.h> |
23 #include <stdio.h> | 23 #include <stdio.h> |
24 #include <string.h> | 24 #include <string.h> |
25 #ifndef __BEOS__ | |
25 #include <errno.h> | 26 #include <errno.h> |
27 #else | |
28 #include "berrno.h" | |
29 #endif | |
26 #include <math.h> | 30 #include <math.h> |
27 | 31 |
28 #ifndef ENODATA | 32 #ifndef ENODATA |
29 #define ENODATA 61 | 33 #define ENODATA 61 |
30 #endif | 34 #endif |