Fix the build on Haiku/BeOS. Apparently our GCC doesn't like the "+d"
constraint, so I replaced it with a "d" input and "=d" output constraint instead, which should be equivalent. Please yell if my logic is flawed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
15d2b7b29d
commit
6f5bc65419
@ -357,8 +357,8 @@ FT_BEGIN_HEADER
|
||||
"shrl $16, %%eax\n"
|
||||
"shll $16, %%edx\n"
|
||||
"addl %%edx, %%eax\n"
|
||||
: "=a"(result), "+d"(b)
|
||||
: "a"(a)
|
||||
: "=a"(result), "=d"(b)
|
||||
: "a"(a), "d"(b)
|
||||
: "%ecx" );
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user