modified to provider better R5 compatibility

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1615 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2002-10-23 13:45:47 +00:00
parent 2050c9bb7c
commit d7e489f80a
7 changed files with 100 additions and 8 deletions
+6 -3
View File
@@ -6,12 +6,13 @@
#ifndef _OS_H
#define _OS_H
#include <ktypes.h>
//#include <ktypes.h>
// ToDo: has to be included here, but does currently causes compiler errors
// (redefinitions in ktypes.h (bigtime_t), and arch/x86/types.h (int8, ...))
//#include <SupportDefs.h>
#include <SupportDefs.h>
#include <StorageDefs.h>
// ToDo: is automatically included by SupportDefs.h, so that one can be removed later
#include <Errors.h>
//#include <Errors.h>
#ifdef __cplusplus
@@ -258,6 +259,8 @@ typedef struct {
#define B_MIN_PRIORITY B_IDLE_PRIORITY
#define B_MAX_PRIORITY B_REAL_TIME_PRIORITY
#define B_SYSTEM_TIMEBASE 0
typedef int32 (*thread_func) (void *);
// the equivalent thread_entry has been removed (deprecated)