From 6f5bc654190769f3bcdd2fe0f82569d078c6dc7a Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 18 Jan 2009 23:56:00 +0000 Subject: [PATCH] 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 --- headers/libs/freetype2/freetype/config/ftconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/libs/freetype2/freetype/config/ftconfig.h b/headers/libs/freetype2/freetype/config/ftconfig.h index 169da3cf3f..1aa009e6ec 100644 --- a/headers/libs/freetype2/freetype/config/ftconfig.h +++ b/headers/libs/freetype2/freetype/config/ftconfig.h @@ -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; }