summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorTomas Wilhelmsson <[email protected]>2009-02-23 08:11:29 -0700
committerBrian Paul <[email protected]>2009-02-23 08:11:29 -0700
commit41172c04306098ab9ecba8b48d7be47c3911a662 (patch)
treea324979d3849b9376a603aed930fb25cee9d45b0 /src/mesa/main/imports.h
parentd265706cd3849679e543797b4ad4edf463cd4586 (diff)
mesa: fixes for building on Haiku
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index d28860f1702..4192f037c00 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -265,7 +265,8 @@ static INLINE int iround(float f)
}
#define IROUND(x) iround(x)
#elif defined(USE_X86_ASM) && defined(__GNUC__) && defined(__i386__) && \
- (!defined(__BEOS__) || (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)))
+ (!(defined(__BEOS__) || defined(__HAIKU__)) || \
+ (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)))
static INLINE int iround(float f)
{
int r;