Disable x86 iround() version on BeOS with gcc < 2.95.x, as it choke GAS.

BTW, that's remove the requirement to build Mesa on BeOS with gcc 2.95.3.
Still recommanded for performance, thought ;-)
This commit is contained in:
Philippe Houdoin
2004-08-24 08:54:04 +00:00
parent 0f539de57e
commit f43cc67616
+2 -1
View File
@@ -377,7 +377,8 @@ static INLINE int iround(float f)
return r;
}
#define IROUND(x) iround(x)
#elif defined(USE_X86_ASM) && defined(__GNUC__) && defined(__i386__)
#elif defined(USE_X86_ASM) && defined(__GNUC__) && defined(__i386__) && \
(!defined(__BEOS__) || (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)))
static INLINE int iround(float f)
{
int r;