diff options
author | Tomas Wilhelmsson <[email protected]> | 2009-02-23 08:11:29 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-23 08:11:29 -0700 |
commit | 41172c04306098ab9ecba8b48d7be47c3911a662 (patch) | |
tree | a324979d3849b9376a603aed930fb25cee9d45b0 /src/mesa/x86 | |
parent | d265706cd3849679e543797b4ad4edf463cd4586 (diff) |
mesa: fixes for building on Haiku
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/gen_matypes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c index afb4b11529f..8c690b4f882 100644 --- a/src/mesa/x86/gen_matypes.c +++ b/src/mesa/x86/gen_matypes.c @@ -61,7 +61,7 @@ do { \ printf( "\n" ); \ } while (0) -#if defined(__BEOS__) || defined(_LP64) +#if defined(__BEOS__) || defined(__HAIKU__) || defined(_LP64) #define OFFSET( s, t, m ) \ printf( "#define %s\t%ld\n", s, offsetof( t, m ) ); #else @@ -69,7 +69,7 @@ do { \ printf( "#define %s\t%d\n", s, offsetof( t, m ) ); #endif -#if defined(__BEOS__) || defined(_LP64) +#if defined(__BEOS__) || defined(__HAIKU__) || defined(_LP64) #define SIZEOF( s, t ) \ printf( "#define %s\t%ld\n", s, sizeof(t) ); #else |