[Mesa-dev] [PATCH 3/5] gallium: svga. Fix typedef conflicts on Haiku

Alexander von Gluck kallisti5 at unixzen.com
Sun Jan 22 10:42:24 PST 2012


---
  src/gallium/drivers/svga/include/svga_types.h |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/svga/include/svga_types.h 
b/src/gallium/drivers/svga/include/svga_types.h
index 7fd9bab..7a99f34 100644
--- a/src/gallium/drivers/svga/include/svga_types.h
+++ b/src/gallium/drivers/svga/include/svga_types.h
@@ -28,6 +28,7 @@

  #include "pipe/p_compiler.h"

+#ifndef __HAIKU__
  typedef int64_t int64;
  typedef uint64_t uint64;

@@ -39,6 +40,9 @@ typedef uint16_t uint16;

  typedef int8_t int8;
  typedef uint8_t uint8;
+#else
+#include <OS.h>
+#endif /* HAIKU */

  typedef uint8_t Bool;

-- 
1.7.5.4





More information about the mesa-dev mailing list