mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Workaround for GCC inline assembly bug, hopefully fixed for good. Builds for me in both checked and free
Bug details and status here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153 svn path=/trunk/; revision=15584
This commit is contained in:
parent
2990d277fb
commit
28d278bd08
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ HalQueryDisplayOwnership();
|
|||
static inline BYTE Ki386ReadFsByte(ULONG offset)
|
||||
{
|
||||
BYTE b;
|
||||
__asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r" (offset));
|
||||
__asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"r" (offset));
|
||||
return b;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue