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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user