view loader/ldt_keeper.h @ 30786:24c1cedb1de2

1. Move the macros for priority classes for OS/2 from priority.c to osdep.h 2. Define SetPriorityClass() and GetCurrentProcess() in osdep.h 3. Include osdep.h in priority.c This removes OS2-platform check in priority.c
author komh
date Thu, 04 Mar 2010 12:55:30 +0000
parents 26f673ba0675
children 6506ce7ba414
line wrap: on
line source

#ifndef MPLAYER_LDT_KEEPER_H
#define MPLAYER_LDT_KEEPER_H

typedef struct {
  void* fs_seg;
  char* prev_struct;
} ldt_fs_t;

void Setup_FS_Segment(void);
ldt_fs_t* Setup_LDT_Keeper(void);
void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);

#endif /* MPLAYER_LDT_KEEPER_H */