diff 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
line wrap: on
line diff
--- a/common.h	Thu Jul 18 20:27:09 2002 +0000
+++ b/common.h	Fri Jul 19 22:23:40 2002 +0000
@@ -22,7 +22,11 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#ifndef __BEOS__
 #include <errno.h>
+#else
+#include "berrno.h"
+#endif
 #include <math.h>
 
 #ifndef ENODATA