forked from KolibriOS/kolibrios
kolibri-libc:
- Removed attribute "O0" in _ksys_process_info that caused strange behavior in kos32-gcc v4.8.2 - Window centering in wolf3d should be fixed git-svn-id: svn://kolibrios.org@8669 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d0d12e359f
commit
6fcb8e3762
@ -29,6 +29,8 @@ typedef struct {
|
||||
unsigned char red;
|
||||
}rgb_t;
|
||||
|
||||
typedef unsigned int ksys_color_t;
|
||||
|
||||
#pragma pack(push,1)
|
||||
typedef union{
|
||||
unsigned val;
|
||||
@ -119,8 +121,6 @@ typedef struct {
|
||||
char reserved3[1024-71]; //+71
|
||||
}ksys_proc_table_t;
|
||||
|
||||
typedef unsigned int ksys_color_t;
|
||||
|
||||
typedef struct{
|
||||
ksys_color_t frame_area;
|
||||
ksys_color_t grab_bar;
|
||||
@ -786,7 +786,7 @@ int _ksys_get_thread_slot(int tid){
|
||||
}
|
||||
|
||||
static inline
|
||||
int not_optimized _ksys_process_info(ksys_proc_table_t* table, int pid)
|
||||
int _ksys_process_info(ksys_proc_table_t* table, int pid)
|
||||
{
|
||||
int val;
|
||||
asm_inline(
|
||||
|
Loading…
Reference in New Issue
Block a user