mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:47:17 +00:00
libwine: Hardcode Linux syscall numbers.
This commit is contained in:
parent
6f1932dbca
commit
ef4981bd5b
|
@ -70,7 +70,7 @@ static inline void fill_modify_ldt_struct( struct modify_ldt_s *ptr, const LDT_E
|
||||||
|
|
||||||
static inline int modify_ldt( int func, struct modify_ldt_s *ptr, unsigned long count )
|
static inline int modify_ldt( int func, struct modify_ldt_s *ptr, unsigned long count )
|
||||||
{
|
{
|
||||||
return syscall( SYS_modify_ldt, func, ptr, count );
|
return syscall( 123 /* SYS_modify_ldt */, func, ptr, count );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int set_thread_area( struct modify_ldt_s *ptr )
|
static inline int set_thread_area( struct modify_ldt_s *ptr )
|
||||||
|
|
Loading…
Reference in a new issue