[OpenBIOS] r88 - fcode-utils/shared

svn at openbios.org svn at openbios.org
Sat Oct 14 22:17:31 CEST 2006


Author: stepan
Date: 2006-10-14 22:17:30 +0200 (Sat, 14 Oct 2006)
New Revision: 88

Modified:
   fcode-utils/shared/types.h
Log:
fix types on Mac OS X


Modified: fcode-utils/shared/types.h
===================================================================
--- fcode-utils/shared/types.h	2006-10-10 17:43:11 UTC (rev 87)
+++ fcode-utils/shared/types.h	2006-10-14 20:17:30 UTC (rev 88)
@@ -39,7 +39,20 @@
  *
  **************************************************************************** */
 
+#if defined(__ppc__) && defined(__APPLE__)
+#include <sys/types.h>
 
+typedef int8_t s8;
+typedef u_int8_t u8;
+
+typedef int16_t s16;
+typedef u_int16_t u16;
+
+typedef int32_t s32;
+typedef u_int32_t u32;
+
+#else
+
 #include <asm/types.h>
 
 typedef __s8    s8;
@@ -50,6 +63,7 @@
 
 typedef __s32   s32;
 typedef __u32   u32;
+#endif
 
 #ifdef FALSE            /*  Hack for AIX.     */
 #undef FALSE




More information about the OpenBIOS mailing list