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:
@@ -357,8 +357,8 @@ FT_BEGIN_HEADER
|
|||||||
"shrl $16, %%eax\n"
|
"shrl $16, %%eax\n"
|
||||||
"shll $16, %%edx\n"
|
"shll $16, %%edx\n"
|
||||||
"addl %%edx, %%eax\n"
|
"addl %%edx, %%eax\n"
|
||||||
: "=a"(result), "+d"(b)
|
: "=a"(result), "=d"(b)
|
||||||
: "a"(a)
|
: "a"(a), "d"(b)
|
||||||
: "%ecx" );
|
: "%ecx" );
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user